exclude bars from wm checking

This commit is contained in:
gk committed 2020-11-07 10:18:07 +10:00
1 parent 5a9c664bfb
commit 3521c02a54
1 file changed
+1
+1
View File
@@ -59,6 +59,7 @@ if [ -e /proc/$$/comm ]; then
for i in /proc/*/comm; do
read -r c < "$i"
case $c in
*bar*) ;;
awesome|xmonad*|qtile|sway|i3|[bfo]*box|*wm*) wm=${c%%-*}; break;;
esac
done