mirror of
https://github.com/eepykate/fet.sh.git
synced 2026-11-14 19:03:07 +00:00
fix wm rc scripts sometimes getting picked up as the wm
This commit is contained in:
1 parent
6d83dfcac9
commit
06fa2da09b
1 file changed
+1
-1
@@ -59,7 +59,7 @@ if [ -e /proc/$$/comm ]; then
|
|||||||
for i in /proc/*/comm; do
|
for i in /proc/*/comm; do
|
||||||
read -r c < "$i"
|
read -r c < "$i"
|
||||||
case $c in
|
case $c in
|
||||||
*bar*) ;;
|
*bar*|*rc) ;;
|
||||||
awesome|xmonad*|qtile|sway|i3|[bfo]*box|*wm*) wm=${c%%-*}; break;;
|
awesome|xmonad*|qtile|sway|i3|[bfo]*box|*wm*) wm=${c%%-*}; break;;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|||||||
Reference in new issue
Block a user