Skip to content

Commit

Permalink
Merge pull request #225 from sg-qwt/patch-3
Browse files Browse the repository at this point in the history
fix: rewording desktopSession warning
  • Loading branch information
K900 authored Nov 24, 2023
2 parents d8bd439 + 172b4bf commit 650ec6e
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions modules/steam/autostart.nix
Original file line number Diff line number Diff line change
Expand Up @@ -37,17 +37,16 @@ in
lib.assertMsg (userProvidedDesktopSession != null -> (str.check userProvidedDesktopSession && lib.elem userProvidedDesktopSession config.services.xserver.displayManager.sessionData.sessionNames)) ''
Desktop session '${userProvidedDesktopSession}' not found.
Valid values for 'jovian.steam.desktopSession' are:
${lib.concatStringsSep "\n " (lib.lists.remove "gamescope-wayland" config.services.xserver.displayManager.sessionData.sessionNames)}
If you don't want a desktop session to switch to, remove 'jovian.steam.desktopSession' from your config.
${lib.concatStringsSep "\n " config.services.xserver.displayManager.sessionData.sessionNames}
If you don't want a desktop session to switch to, set 'jovian.steam.desktopSession' to 'gamescope-wayland'.
'';
};
default = null;
example = "plasma";
description = lib.mdDoc ''
The session to launch for Desktop Mode.
By default, attempting to switch to the desktop will launch
Gaming Mode again.
By default, attempting to switch to the desktop will launch Gaming Mode again.
'';
};
};
Expand All @@ -73,7 +72,7 @@ in
This means that using the Switch to Desktop function in Gaming Mode will
relaunch Gaming Mode.
Set jovian.steam.desktopSession to the name of a desktop session, or "steam-wayland"
Set jovian.steam.desktopSession to the name of a desktop session, or "gamescope-wayland"
to keep this behavior.
'';

Expand Down

0 comments on commit 650ec6e

Please sign in to comment.