89 lines
2.0 KiB
Nix
89 lines
2.0 KiB
Nix
{myConfig, ...}: {
|
|
programs.mangohud = {
|
|
enable = true;
|
|
enableSessionWide = true;
|
|
settings = {
|
|
legacy_layout = false;
|
|
horizontal = true;
|
|
background_alpha = 0.6;
|
|
round_corners = 10;
|
|
background_color = "000000";
|
|
font_size = 24;
|
|
text_color = "FFFFFF";
|
|
position = "top-left";
|
|
toggle_hud = "Shift_R+F12";
|
|
no_display = true;
|
|
pci_dev = "0:03:00.0";
|
|
table_columns = 3;
|
|
|
|
gpu_text = "GPU";
|
|
gpu_stats = true;
|
|
gpu_load_change = true;
|
|
gpu_load_value = [50 90];
|
|
gpu_load_color = ["FFFFFF" "FFAA7F" "CC0000"];
|
|
gpu_temp = true;
|
|
gpu_power = true;
|
|
gpu_color = "2E9762";
|
|
|
|
cpu_text = "CPU";
|
|
cpu_stats = true;
|
|
cpu_load_change = true;
|
|
cpu_load_value = [50 90];
|
|
cpu_load_color = ["FFFFFF" "FFAA7F" "CC0000"];
|
|
cpu_temp = true;
|
|
cpu_power = true;
|
|
cpu_color = "2E97CB";
|
|
|
|
vram = true;
|
|
vram_color = "AD64C1";
|
|
ram = true;
|
|
ram_color = "C26693";
|
|
battery = true;
|
|
battery_color = "00FF00";
|
|
|
|
fps = true;
|
|
fps_metrics = ["avg" "0.01"];
|
|
engine_version = true;
|
|
engine_color = "EB5B5B";
|
|
arch = true;
|
|
frame_timing = true;
|
|
frametime_color = "FA8000";
|
|
fps_limit_method = "late";
|
|
toggle_fps_limit = "Shift_L+F1";
|
|
fps_limit = 0;
|
|
resolution = true;
|
|
refresh_rate = true;
|
|
|
|
# custom_text = [
|
|
# "-"
|
|
# "$(cat /home/kenji/.config/goverlay/distro)"
|
|
# "-"
|
|
# "$(uname -r)"
|
|
# "Session:"
|
|
# "$(echo $XDG_SESSION_TYPE)"
|
|
# ];
|
|
|
|
fps_color_change = true;
|
|
fps_color = ["B22222" "FDFD09" "39F900"];
|
|
fps_value = [30 60];
|
|
|
|
time = true;
|
|
|
|
output_folder = "/home/${myConfig.essentials.Username}/.mangohud/";
|
|
log_duration = 30;
|
|
autostart_log = false;
|
|
log_interval = 100;
|
|
toggle_logging = "Shift_L+F2";
|
|
|
|
blacklist = [
|
|
"pamac-manager"
|
|
"lact"
|
|
"ghb"
|
|
"bitwig-studio"
|
|
"ptyxis"
|
|
"yumex"
|
|
];
|
|
};
|
|
};
|
|
}
|