Machines/WinMax2: add desktop entry to launch steam without scaling
This commit is contained in:
parent
ce6732acd8
commit
761dfedf1b
1 changed files with 11 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue