diff --git a/fet.sh b/fet.sh index 4cd0ddf..6b22c8f 100755 --- a/fet.sh +++ b/fet.sh @@ -47,7 +47,7 @@ if [ -e /proc/$$/comm ]; then for i in /proc/*/comm; do read -r c < "$i" case $c in - awesome|xmonad*|qtile|sway|i3*|*box*|*wm*) wm="${c%%-*}"; break;; + awesome|xmonad*|qtile|sway|i3|*box*|*wm*) wm="${c%%-*}"; break;; esac done