mirror of
https://github.com/eepykate/fet.sh.git
synced 2026-11-20 19:41:40 +00:00
Added detection of sway
This commit is contained in:
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|sway|i3*|*box*|*wm*) wm="$c"; break;;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user