mirror of
https://github.com/dylanaraps/neofetch.git
synced 2025-12-24 04:22:32 +00:00
Fix incorrect xinitrc path
This commit is contained in:
2
fetch
2
fetch
@@ -601,7 +601,7 @@ getwindowmanager () {
|
||||
windowmanager="$XDG_CURRENT_DESKTOP"
|
||||
|
||||
elif [ "$XINITRC" ]; then
|
||||
windowmanager=$(grep "^[^#]*exec" "${HOME}/.xinitrc")
|
||||
windowmanager=$(grep "^[^#]*exec" "$XINITRC")
|
||||
|
||||
elif [ -e "$HOME/.xinitrc" ]; then
|
||||
windowmanager=$(grep "^[^#]*exec" "${HOME}/.xinitrc")
|
||||
|
||||
Reference in New Issue
Block a user