diff --git a/pkgs/gamescope-session/default.nix b/pkgs/gamescope-session/default.nix index 39426755..9f7de31d 100644 --- a/pkgs/gamescope-session/default.nix +++ b/pkgs/gamescope-session/default.nix @@ -16,6 +16,7 @@ gnutar, ibus, mangohud, + plasma5Packages, powerbuttond, procps, steam_notif_daemon, @@ -72,9 +73,12 @@ let "$HOME/devkit-game/devkit-steam" = true; }; - # Don't resholve gamescope so we can use the cap_sys_nice wrapper when available prologue = "${writeText "gamescope-session-prologue" '' + # Don't resholve gamescope so we can use the cap_sys_nice wrapper when available export PATH=/run/wrappers/bin:${gamescope}/bin:$PATH + + # Make gamescope discover the Steam cursor theme + export XCURSOR_PATH=${plasma5Packages.breeze-qt5}/share/icons:${steamdeck-hw-theme}/share/icons ''}"; }; start-gamescope-session-solution = {