replace *box* with *box when detecting WM so it doesn't match

virtualbox's driver
This commit is contained in:
GaugeK committed 2020-08-22 03:55:06 +10:00
1 parent 0a43ea82f3
commit c158f06c4d
1 file changed
+1 -1
+1 -1
View File
@@ -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|i3*|*box*|*wm*) wm="$c"; break;;
awesome|xmonad|qtile|i3*|box*|*wm*) wm="$c"; break;;
esac
done