Fix incorrect xinitrc path
This commit is contained in:
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
Block a user