bash: start fish if no WM started

This commit is contained in:
dogeystamp 2024-12-15 13:43:40 -05:00
parent bdcbb19b08
commit de4acf9f95
No known key found for this signature in database

View File

@ -10,3 +10,4 @@
[ -x {{ $fish_path }} ] && export SHELL={{ $fish_path }}
[[ -z $DISPLAY && $XDG_VTNR -eq 2 ]] && exec startx
[[ -z $WAYLAND_DISPLAY && $XDG_VTNR -eq 1 ]] && exec niri-session
exec "$SHELL"