From 06fa2da09bb546fce1f42536be0b90cd1e9aa57e Mon Sep 17 00:00:00 2001 From: gk Date: Wed, 7 Jul 2021 12:58:01 +1000 Subject: [PATCH] fix wm rc scripts sometimes getting picked up as the wm --- fet.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fet.sh b/fet.sh index 887e823..367e7e0 100755 --- a/fet.sh +++ b/fet.sh @@ -59,7 +59,7 @@ if [ -e /proc/$$/comm ]; then for i in /proc/*/comm; do read -r c < "$i" case $c in - *bar*) ;; + *bar*|*rc) ;; awesome|xmonad*|qtile|sway|i3|[bfo]*box|*wm*) wm=${c%%-*}; break;; esac done