From 55931b3bdf200229f56789e2bf697139b1aa7b2f Mon Sep 17 00:00:00 2001 From: Mike Sampson Date: Fri, 21 Aug 2020 19:22:17 +1000 Subject: [PATCH] Detect xmonad. When using a user config the executable is located in the users home directory and is called $HOME/.xmonad/xmonad-x86_64-linux --- fet.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fet.sh b/fet.sh index f11b593..1a1c98b 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|i3*|*box*|*wm*) wm="$c"; break;; + awesome|xmonad*|qtile|i3*|*box*|*wm*) wm="$c"; break;; esac done