fix wm rc scripts sometimes getting picked up as the wm

This commit is contained in:
gk
2021-07-07 12:58:06 +10:00
parent 6d83dfcac9
commit 06fa2da09b
+1 -1
View File
@@ -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