wmctrl is now a required dependency
This commit is contained in:
parent
4a0f02bde7
commit
5981cb6eca
2 changed files with 7 additions and 12 deletions
7
fetch
7
fetch
|
@ -751,13 +751,6 @@ getwm () {
|
|||
if type -p wmctrl >/dev/null 2>&1; then
|
||||
wm="$(wmctrl -m | head -n1)"
|
||||
wm=${wm/Name: }
|
||||
|
||||
elif [ "$XINITRC" ]; then
|
||||
wm=$(grep "^[^#]*exec" "$XINITRC" | tail -n 1)
|
||||
|
||||
elif [ -e "$HOME/.xinitrc" ]; then
|
||||
wm=$(grep "^[^#]*exec" "${HOME}/.xinitrc" | tail -n 1)
|
||||
|
||||
else
|
||||
case "$os" in
|
||||
"Mac OS X") wm="Quartz Compositor" ;;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue