From 602ea513fce61ef318031b3963a8e508b8373108 Mon Sep 17 00:00:00 2001 From: Filippo Berto Date: Mon, 6 Mar 2023 09:16:05 +0100 Subject: [PATCH] MangoHUD: update config --- hm_modules/mangohud.nix | 54 +++++++++++++++-------------------------- 1 file changed, 20 insertions(+), 34 deletions(-) diff --git a/hm_modules/mangohud.nix b/hm_modules/mangohud.nix index 27b6835..e565e49 100644 --- a/hm_modules/mangohud.nix +++ b/hm_modules/mangohud.nix @@ -5,39 +5,25 @@ in { programs.mangohud = { enable = true; enableSessionWide = true; + settings = { + toggle_fps_limit = "F1"; + cpu_color = strPalette.normal.blue; + cpu_temp = true; + engine_color = strPalette.normal.red; + gpu_color = strPalette.normal.green; + gpu_stats = true; + gpu_temp = true; + io_color = strPalette.normal.white; + media_player_color = strPalette.normal.white; + media_player_name = "spotify"; + output_folder = "/home/bertof"; + position = "top-left"; + ram = true; + ram_color = strPalette.normal.magenta; + toggle_hud = "Shift_L+F12"; + toggle_logging = "Shift_L+F2"; + vram = true; + vram_color = strPalette.dark.magenta; + }; }; - 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 - ''; }