mirror of
https://github.com/eepykate/fet.sh.git
synced 2026-11-25 20:28:17 +00:00
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:
1 parent
e377e92ee2
commit
55931b3bdf
1 file changed
+1
-1
@@ -47,7 +47,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
|
||||||
awesome|xmonad|qtile|i3*|*box*|*wm*) wm="$c"; break;;
|
awesome|xmonad*|qtile|i3*|*box*|*wm*) wm="$c"; break;;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user