Skip to content

Commit

Permalink
gamescope-session: add cursor themes to XCURSOR_PATH
Browse files Browse the repository at this point in the history
Fixes #208
  • Loading branch information
K900 committed Nov 10, 2023
1 parent 2d0766a commit 61e127b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion pkgs/gamescope-session/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
gnutar,
ibus,
mangohud,
plasma5Packages,
powerbuttond,
procps,
steam_notif_daemon,
Expand Down Expand Up @@ -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 = {
Expand Down

0 comments on commit 61e127b

Please sign in to comment.