Fix incorrect xinitrc path
This commit is contained in:
parent
7619f71549
commit
84f6993987
2
fetch
2
fetch
|
@ -601,7 +601,7 @@ getwindowmanager () {
|
||||||
windowmanager="$XDG_CURRENT_DESKTOP"
|
windowmanager="$XDG_CURRENT_DESKTOP"
|
||||||
|
|
||||||
elif [ "$XINITRC" ]; then
|
elif [ "$XINITRC" ]; then
|
||||||
windowmanager=$(grep "^[^#]*exec" "${HOME}/.xinitrc")
|
windowmanager=$(grep "^[^#]*exec" "$XINITRC")
|
||||||
|
|
||||||
elif [ -e "$HOME/.xinitrc" ]; then
|
elif [ -e "$HOME/.xinitrc" ]; then
|
||||||
windowmanager=$(grep "^[^#]*exec" "${HOME}/.xinitrc")
|
windowmanager=$(grep "^[^#]*exec" "${HOME}/.xinitrc")
|
||||||
|
|
Reference in New Issue