xsession: add startx argument, lupan-set-theme: use pkill

This commit is contained in:
2025-10-15 07:34:23 +02:00
parent e734764630
commit a49f1c4ea1
2 changed files with 3 additions and 3 deletions

View File

@@ -36,7 +36,7 @@ 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
elif which /usr/bin/startx > /dev/null; then
exec /usr/bin/startx
exec /usr/bin/startx ~/.xsession
elif which Hyprland > /dev/null && [ -d ~/.config/hypr ]; then
exec Hyprland
elif which river > /dev/null && [ -d ~/.config/river ]; then