Skip to content

Commit

Permalink
fix: rewording desktopSession warning
Browse files Browse the repository at this point in the history
  • Loading branch information
sg-qwt authored and K900 committed Nov 24, 2023
1 parent 4c9c520 commit 172b4bf
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 @@ -36,17 +36,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 @@ -72,7 +71,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 172b4bf

Please sign in to comment.