xsession: add startx argument, lupan-set-theme: use pkill, shell: try eza before exa
This commit is contained in:
@@ -13,7 +13,10 @@ if alias r > /dev/null; then
|
||||
unalias r
|
||||
fi
|
||||
|
||||
if which exa > /dev/null; then
|
||||
if which eza > /dev/null; then
|
||||
alias ls='eza --icons'
|
||||
alias tree='eza --tree --icons'
|
||||
elif which exa > /dev/null; then
|
||||
alias ls='exa --icons'
|
||||
alias tree='exa --tree --icons'
|
||||
fi
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user