From 0ac1b7d216e7fbd84d53d1789a7c2581ffb464a3 Mon Sep 17 00:00:00 2001 From: GaugeK Date: Sat, 22 Aug 2020 04:54:12 +1000 Subject: [PATCH] Detect 'i3' as wm without any globbing --- fet.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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