You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If "''${1:0:1}" checks if / is the first character of $1: This shouldn't be required for SDDM anymore (or should it? - 8a1fcaf that commit is pretty new...). (Explained here: Fix sessions with sddm. #22723)
The syntax for $1 is desktopManager + windowManager -> can we please use that order in the code?
(Temporarily) closing this due to missing/wrong information (just noticed I was looking at the wrong place... :o). I might be able to solve this on my own.
Issue description
I'm using the SDDM display manager which calls the xsession script with the following parameter ($1): 'none + i3'.
Expected behavior:
Actual behavior:
The bug should be caused by the following file: nixos/modules/services/x11/display-managers/default.nix
Update: The following snippet works as intended.
Unfortunately I don't understand all the Bash hacks but it should be caused by the following code snippet:This one might be relevant as well:http://wiki.bash-hackers.org/syntax/pe - This might help understanding the Bash hacks. And can we please better document these hacks?
Additional questions:
If(Explained here: Fix sessions with sddm. #22723)"''${1:0:1}"
checks if/
is the first character of$1
: This shouldn't be required for SDDM anymore (or should it? - 8a1fcaf that commit is pretty new...).$1
isdesktopManager + windowManager
-> can we please use that order in the code?Steps to reproduce
Technical details
nixos-version
, Ubuntu/Fedora:lsb_release -a
, ...)nix-env --version
)nix-instantiate --eval '<nixpkgs>' -A lib.nixpkgsVersion
)The text was updated successfully, but these errors were encountered: