Hyprland: try Hyperland before sx

This commit is contained in:
2024-02-24 14:38:31 +01:00
parent 7a4e0e7e61
commit 6181681134
2 changed files with 9 additions and 8 deletions
+1 -6
View File
@@ -1,6 +1 @@
# start X at login on first console or otherwise source ~/.profile
if [[ -z "$DISPLAY" && "$XDG_VTNR" -eq 1 ]] && which /bin/sx > /dev/null; then
exec sx ~/.xsession
else
source ~/.profile
fi
source ~/.profile