Skip to content

Commit

Permalink
Merge pull request #211 from Jovian-Experiments/cursors
Browse files Browse the repository at this point in the history
gamescope-session: add cursor themes to XCURSOR_PATH
  • Loading branch information
K900 authored Nov 11, 2023
2 parents 2d0766a + 61e127b commit 42d4937
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 42d4937

Please sign in to comment.