From dc27564ffa3977afc2e3fd148f0fed5a26f4f838 Mon Sep 17 00:00:00 2001 From: Myned Date: Fri, 18 Oct 2024 19:21:52 -0500 Subject: [PATCH] mangohud: modify config Signed-off-by: Myned --- options/custom/programs/mangohud.nix | 26 ++++++++++++++++++++------ 1 file changed, 20 insertions(+), 6 deletions(-) diff --git a/options/custom/programs/mangohud.nix b/options/custom/programs/mangohud.nix index e1606d0..150c478 100644 --- a/options/custom/programs/mangohud.nix +++ b/options/custom/programs/mangohud.nix @@ -18,27 +18,41 @@ in { settings = { background_alpha = 0; background_color = "002b36"; + battery = true; + battery_watt = true; core_load = true; cpu_color = "268bd2"; + cpu_temp = true; device_battery = "gamepad,mouse"; + dynamic_frame_timing = true; engine_color = "dc322f"; - font_file = "${pkgs.nerdfonts}/share/fonts/truetype/NerdFonts/IosevkaNerdFont-Bold.ttf"; + font_file = "${(pkgs.nerdfonts.override {fonts = ["Iosevka"];})}/share/fonts/truetype/NerdFonts/IosevkaNerdFontPropo-SemiBold.ttf"; font_size = 24; - fps_limit = "100,75,60"; # !! Monitor dependent + fps_limit = "100,75,60,50"; # !! Monitor dependent fps_limit_method = "early"; # Smoother frametimes compared to late - frame_timing = true; + frametime = true; frametime_color = "859900"; - gl_vsync = -1; # Adaptive + #// gl_vsync = -1; # Adaptive gpu_color = "2aa198"; + gpu_load_change = true; + gpu_temp = true; gpu_stats = true; + hud_compact = true; + io_color = "b58900"; + io_read = true; + io_write = true; no_display = true; # Hide by default position = "top-center"; ram = true; ram_color = "d33682"; - text_color = "ffffff"; + reload_cfg = "Control_L+Shift_L+slash"; + show_fps_limit = true; + swap = true; + text_color = "fdf6e3"; + throttling_status_graph = true; toggle_fps_limit = "Control_L+period"; toggle_hud = "Control_L+slash"; - vsync = 0; # Adaptive + #// vsync = 0; # Adaptive vram = true; vram_color = "6c71c4"; };