Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: rewording desktopSession warning #225

Merged
merged 1 commit into from
Nov 24, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading