clean up scripts
This commit is contained in:
14
.config/polybar/scripts/info-wmname.sh
Normal file
14
.config/polybar/scripts/info-wmname.sh
Normal file
@@ -0,0 +1,14 @@
|
||||
#!/bin/sh
|
||||
|
||||
case "$1" in
|
||||
--toggle)
|
||||
if [ "$(wmname)" != "BSPWM" ]; then
|
||||
wmname BSPWM
|
||||
else
|
||||
wmname LG3D
|
||||
fi
|
||||
;;
|
||||
*)
|
||||
echo "# $(wmname)"
|
||||
;;
|
||||
esac
|
||||
Reference in New Issue
Block a user