refactor: Add Steam scaling entries

This commit is contained in:
Tristan D. 2024-10-11 02:05:58 +02:00
parent fec24c79e1
commit 0c10a145c3
Signed by: tristan
SSH key fingerprint: SHA256:3RU4RLOoM8oAjFU19f1W6t8uouZbA7GWkaSW6rjp1k8

View file

@ -28,15 +28,28 @@
]; ];
}; };
xdg.desktopEntries.steam-2 = { xdg.desktopEntries= {
name = "Steam (2.0 Scaling)"; steam-15 = {
type = "Application"; name = "Steam (1.5 Scaling)";
icon = "steam"; type = "Application";
comment = "steam with forced 2x scaling for highdpi displays"; icon = "steam";
exec = "steam -forcedesktopscaling 2"; comment = "steam with forced 2x scaling for highdpi displays";
terminal = false; exec = "steam -forcedesktopscaling 1.5";
prefersNonDefaultGPU = true; terminal = false;
categories = [ "Network" "FileTransfer" "Game" ]; prefersNonDefaultGPU = true;
categories = [ "Network" "FileTransfer" "Game" ];
};
steam-2 = {
name = "Steam (2.0 Scaling)";
type = "Application";
icon = "steam";
comment = "steam with forced 2x scaling for highdpi displays";
exec = "steam -forcedesktopscaling 2";
terminal = false;
prefersNonDefaultGPU = true;
categories = [ "Network" "FileTransfer" "Game" ];
};
}; };
home = { home = {