Fix mangohud config definition

This commit is contained in:
Evie Litherland-Smith 2024-09-28 09:55:12 +01:00
parent ac76905fb9
commit b880d1bd57

View file

@ -33,29 +33,23 @@
input-overlay input-overlay
]; ];
}; };
wayland.windowManager.sway.config = { xdg.configFile."MangoHud/MangoHud.conf".text = ''
output = { preset=2
"Acer Technologies ED270R TJMEE0043W01" = { time
mode = "1920x1080@120Hz"; # text_color=FFFFFF
position = "0 140"; # gpu_color=2E9762
}; # cpu_color=2E97CB
"Microstep MSI G27CQ4 E2 Unknown" = { # vram_color=AD64C1
mode = "2560x1440@120Hz"; # ram_color=C26693
scale = "1.25"; # engine_color=EB5B5B
position = "1920 0"; # io_color=A491D3
}; # frametime_color=00FF00
}; # background_color=020202
workspaceOutputAssign = [ # media_player_color=FFFFFF
{ # wine_color=EB5B5B
output = "DP-2"; # battery_color=FF9078
workspace = "1"; # network_color=E07B85
} '';
{
output = "DP-1";
workspace = "6";
}
];
};
}; };
boot = { boot = {
extraModulePackages = with config.boot.kernelPackages; [ v4l2loopback ]; extraModulePackages = with config.boot.kernelPackages; [ v4l2loopback ];
@ -84,21 +78,4 @@
capSysNice = true; capSysNice = true;
}; };
}; };
xdg.configFile."MangoHud/MangoHud.conf".text = ''
preset=2
time
# text_color=FFFFFF
# gpu_color=2E9762
# cpu_color=2E97CB
# vram_color=AD64C1
# ram_color=C26693
# engine_color=EB5B5B
# io_color=A491D3
# frametime_color=00FF00
# background_color=020202
# media_player_color=FFFFFF
# wine_color=EB5B5B
# battery_color=FF9078
# network_color=E07B85
'';
} }