wmctrl is now a required dependency

This commit is contained in:
Dylan 2016-02-16 18:01:40 +11:00
parent 4a0f02bde7
commit 5981cb6eca
2 changed files with 7 additions and 12 deletions

7
fetch
View file

@ -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" ;;