Machines/WinMax2: add desktop entry to launch steam without scaling

This commit is contained in:
Toast 2024-04-10 13:06:55 +02:00
parent ce6732acd8
commit 761dfedf1b

View file

@ -110,6 +110,17 @@
environment.sessionVariables = {
STEAM_FORCE_DESKTOPUI_SCALING = "2";
};
home-manager.users.toast = {
# Steam's hidpi support is bugged so it needds to be hardcoded
# This bypasses that
xdg.desktopEntries = {
steam-noScaling = {
name = "Steam (No Scaling)";
exec = "env STEAM_FORCE_DESKTOPUI_SCALING=0 steam %U";
icon = "steam";
};
};
};
# Enable sound.
# sound.enable = true;