Detect xmonad.

When using a user config the executable is located in the users
home directory and is called $HOME/.xmonad/xmonad-x86_64-linux
This commit is contained in:
Mike Sampson committed 2020-08-21 19:22:17 +10:00
1 parent e377e92ee2
commit 55931b3bdf
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