nixos, home, sway: fix autostart command
This commit is contained in:
parent
036cd93da3
commit
15a2fe7ffe
1 changed files with 2 additions and 1 deletions
|
@ -15,8 +15,9 @@
|
||||||
./components/waybar.nix
|
./components/waybar.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
|
# https://wiki.archlinux.org/title/Fish#Start_X_at_login
|
||||||
programs.fish.loginShellInit = ''
|
programs.fish.loginShellInit = ''
|
||||||
if test -z "$Display" -a "$XDG_VTNR" = 1
|
if test -z "$DISPLAY" -a "$XDG_VTNR" = 1
|
||||||
exec sway
|
exec sway
|
||||||
end
|
end
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Reference in a new issue