xsession: rename .xsession to .xinitrc (note: restow needed)

This commit is contained in:
2026-07-18 12:28:02 +02:00
parent 6949fb75a0
commit 506abc9f1c
2 changed files with 2 additions and 2 deletions

View File

@@ -43,9 +43,9 @@ export ENV=~/.ashrc
# start X or Hyprland at login
if [ -z "$DISPLAY" -a -z "$WAYLAND_DISPLAY" -a "$(tty)" = /dev/tty1 ]; then
if which /usr/bin/sx > /dev/null; then
exec /usr/bin/sx ~/.xsession
exec /usr/bin/sx ~/.xinitrc
elif which /usr/bin/startx > /dev/null; then
exec /usr/bin/startx ~/.xsession
exec /usr/bin/startx
elif which niri > /dev/null; then
exec niri
elif which river argen > /dev/null; then