Fix mangohud config + snapper config for Odin
This commit is contained in:
parent
2f3d05a802
commit
4fe22eb988
2 changed files with 39 additions and 35 deletions
|
|
@ -1,40 +1,42 @@
|
||||||
{
|
{ pkgs, ... }:
|
||||||
|
let strPalette = pkgs.lib.rice.palette.toRgbShortHex pkgs.rice.colorPalette;
|
||||||
|
in {
|
||||||
programs.mangohud = {
|
programs.mangohud = {
|
||||||
enable = true;
|
enable = true;
|
||||||
enableSessionWide = true;
|
enableSessionWide = true;
|
||||||
settings = {
|
|
||||||
toggle_fps_limit = "F1";
|
|
||||||
legacy_layout = false;
|
|
||||||
gpu_stats = true;
|
|
||||||
gpu_temp = true;
|
|
||||||
gpu_text = "GPU";
|
|
||||||
cpu_stats = true;
|
|
||||||
cpu_temp = true;
|
|
||||||
cpu_color = "2e97cb";
|
|
||||||
cpu_text = "CPU";
|
|
||||||
io_color = "a491d3";
|
|
||||||
vram = true;
|
|
||||||
vram_color = "ad64c1";
|
|
||||||
ram = true;
|
|
||||||
ram_color = "c26693";
|
|
||||||
fps = true;
|
|
||||||
engine_color = "eb5b5b";
|
|
||||||
gpu_color = "2e9762";
|
|
||||||
wine_color = "eb5b5b";
|
|
||||||
frame_timing = 1;
|
|
||||||
frametime_color = "00ff00";
|
|
||||||
media_player_color = "ffffff";
|
|
||||||
background_alpha = 0.4;
|
|
||||||
font_size = 24;
|
|
||||||
background_color = "020202";
|
|
||||||
position = "top-left";
|
|
||||||
text_color = "ffffff";
|
|
||||||
round_corners = 0;
|
|
||||||
toggle_hud = "Shift_L+F12";
|
|
||||||
toggle_logging = "Shift_L+F2";
|
|
||||||
upload_log = "F5";
|
|
||||||
output_folder = "/home/bertof";
|
|
||||||
media_player_name = "spotify";
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
xdg.configFile."MangoHud/MangoHud.conf".text = ''
|
||||||
|
toggle_fps_limit=F1
|
||||||
|
legacy_layout=false
|
||||||
|
gpu_stats
|
||||||
|
gpu_temp
|
||||||
|
gpu_text=GPU
|
||||||
|
cpu_stats
|
||||||
|
cpu_temp
|
||||||
|
cpu_color=${strPalette.normal.blue}
|
||||||
|
cpu_text=CPU
|
||||||
|
io_color=${strPalette.normal.white}
|
||||||
|
vram
|
||||||
|
vram_color=${strPalette.dark.magenta}
|
||||||
|
ram
|
||||||
|
ram_color=${strPalette.normal.magenta}
|
||||||
|
fps
|
||||||
|
engine_color=${strPalette.normal.red}
|
||||||
|
gpu_color=${strPalette.normal.green}
|
||||||
|
wine_color=${strPalette.normal.yellow}
|
||||||
|
frame_timing=1
|
||||||
|
frametime_color=${strPalette.normal.green}
|
||||||
|
media_player_color=${strPalette.normal.white}
|
||||||
|
background_alpha=0.4
|
||||||
|
font_size=24
|
||||||
|
background_color=020202
|
||||||
|
position=top-left
|
||||||
|
text_color=ffffff
|
||||||
|
round_corners=0
|
||||||
|
toggle_hud=Shift_L+F12
|
||||||
|
toggle_logging=Shift_L+F2
|
||||||
|
upload_log=F5
|
||||||
|
output_folder=/home/bertof
|
||||||
|
media_player_name=spotify
|
||||||
|
'';
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -202,6 +202,8 @@ with lib; {
|
||||||
recursiveUpdate common { subvolume = "/home/bertof/Documenti"; };
|
recursiveUpdate common { subvolume = "/home/bertof/Documenti"; };
|
||||||
bertof_games_ssd =
|
bertof_games_ssd =
|
||||||
recursiveUpdate common { subvolume = "/home/bertof/Giochi/SSD"; };
|
recursiveUpdate common { subvolume = "/home/bertof/Giochi/SSD"; };
|
||||||
|
bertof_games_sata =
|
||||||
|
recursiveUpdate common { subvolume = "/home/bertof/Giochi/SATA"; };
|
||||||
# bertof_games_hdd = recursiveUpdate common { subvolume = "/home/bertof/Giochi/HDD"; };
|
# bertof_games_hdd = recursiveUpdate common { subvolume = "/home/bertof/Giochi/HDD"; };
|
||||||
bertof_git =
|
bertof_git =
|
||||||
recursiveUpdate common { subvolume = "/home/bertof/Documenti/Git"; };
|
recursiveUpdate common { subvolume = "/home/bertof/Documenti/Git"; };
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue