fixed mangohud conf
This commit is contained in:
parent
cc57c0f568
commit
60957cc265
2 changed files with 57 additions and 46 deletions
|
|
@ -10,9 +10,6 @@
|
|||
package = pkgs.breeze-icons;
|
||||
};
|
||||
file = {
|
||||
".config/lite-xl/fonts/icon-nerd-font.ttf".source =
|
||||
config.lib.file.mkOutOfStoreSymlink
|
||||
"/var/run/current-system/sw/share/X11/fonts/HackNerdFontMono-Regular.ttf";
|
||||
# Autostart programs
|
||||
".config/autostart/koi.desktop".source =
|
||||
config.lib.file.mkOutOfStoreSymlink
|
||||
|
|
|
|||
|
|
@ -1,6 +1,60 @@
|
|||
{ config, pkgs, lib, ... }:
|
||||
|
||||
{
|
||||
let
|
||||
MangoHudConf = pkgs.writeTextFile {
|
||||
name = "MangoHud.conf";
|
||||
text = ''
|
||||
time
|
||||
fps
|
||||
gpu_stats
|
||||
gpu_temp
|
||||
vram
|
||||
cpu_stats
|
||||
cpu_temp
|
||||
ram
|
||||
frame_timing
|
||||
battery_icon
|
||||
gamepad_battery_icon
|
||||
#media_player
|
||||
|
||||
horizontal
|
||||
horizontal_stretch=0
|
||||
legacy_layout=0
|
||||
background_alpha=0
|
||||
position=top-left
|
||||
control=mangohud
|
||||
offset_x=4
|
||||
offset_y=4
|
||||
table_columns=20
|
||||
time_format=%H:%M
|
||||
toggle_hud=Shift_R+F12
|
||||
media_player_format={title} - {artist}
|
||||
font_scale_media_player=1
|
||||
|
||||
core_load_change
|
||||
cpu_color=ffffff
|
||||
cpu_load_change
|
||||
cpu_load_color=FFFFFF,FFAA7F,CC0000
|
||||
cpu_load_value=50,90
|
||||
cpu_text=CPU
|
||||
|
||||
gpu_color=ffffff
|
||||
gpu_load_change
|
||||
gpu_load_color=FFFFFF,FFAA7F,CC0000
|
||||
gpu_load_value=50,90
|
||||
gpu_text=GPU
|
||||
|
||||
io_color=ffffff
|
||||
media_player_color=ffffff
|
||||
ram_color=ffffff
|
||||
text_color=ffffff
|
||||
vram_color=ffffff
|
||||
engine_color=ffffff
|
||||
frametime_color=ffffff
|
||||
'';
|
||||
};
|
||||
|
||||
in {
|
||||
fonts.fontconfig.enable = true;
|
||||
|
||||
gtk = {
|
||||
|
|
@ -26,48 +80,6 @@
|
|||
mangohud = {
|
||||
enable = true;
|
||||
enableSessionWide = true;
|
||||
settings = {
|
||||
control = "mangohud";
|
||||
legacy_layout = 0;
|
||||
text_color = "ffffff";
|
||||
ram_color = "ffffff";
|
||||
vram_color = "ffffff";
|
||||
frametime_color = "ffffff";
|
||||
media_player_color = "ffffff";
|
||||
io_color = "ffffff";
|
||||
engine_color = "ffffff";
|
||||
background_alpha = 0;
|
||||
offset_y = 4;
|
||||
offset_x = 4;
|
||||
position = "top-left";
|
||||
toggle_hud = "Shift_R+F12";
|
||||
horizontal = true;
|
||||
time = true;
|
||||
time_format = "%H:%M";
|
||||
battery_icon = true;
|
||||
gamepad_battery_icon = true;
|
||||
gpu_stats = true;
|
||||
gpu_temp = true;
|
||||
gpu_load_change = true;
|
||||
gpu_load_value = "50,90";
|
||||
gpu_text = "GPU";
|
||||
gpu_color = "ffffff";
|
||||
gpu_load_color = "FFFFFF,FFAA7F,CC0000";
|
||||
cpu_stats = true;
|
||||
cpu_temp = true;
|
||||
cpu_load_change = true;
|
||||
core_load_change = true;
|
||||
cpu_load_value = "50,90";
|
||||
cpu_text = "CPU";
|
||||
cpu_color = "ffffff";
|
||||
cpu_load_color = "FFFFFF,FFAA7F,CC0000";
|
||||
vram = true;
|
||||
ram = true;
|
||||
fps = true;
|
||||
frame_timing = true;
|
||||
table_columns = 20;
|
||||
horizontal_stretch = 0;
|
||||
};
|
||||
};
|
||||
|
||||
obs-studio = {
|
||||
|
|
@ -141,4 +153,6 @@
|
|||
'';
|
||||
};
|
||||
};
|
||||
|
||||
home.file.".config/MangoHud/MangoHud.conf".source = MangoHudConf;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue