From 0c10a145c39b3e255bdf8d3323caf067b5637ba9 Mon Sep 17 00:00:00 2001 From: Tristan Druyen Date: Fri, 11 Oct 2024 02:05:58 +0200 Subject: [PATCH] refactor: Add Steam scaling entries --- home-mods/desktop/default.nix | 31 ++++++++++++++++++++++--------- 1 file changed, 22 insertions(+), 9 deletions(-) diff --git a/home-mods/desktop/default.nix b/home-mods/desktop/default.nix index 0042005..d0530d7 100644 --- a/home-mods/desktop/default.nix +++ b/home-mods/desktop/default.nix @@ -28,15 +28,28 @@ ]; }; - xdg.desktopEntries.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" ]; + xdg.desktopEntries= { + steam-15 = { + name = "Steam (1.5 Scaling)"; + type = "Application"; + icon = "steam"; + comment = "steam with forced 2x scaling for highdpi displays"; + exec = "steam -forcedesktopscaling 1.5"; + terminal = false; + 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 = {