diff options
Diffstat (limited to 'systray')
| -rwxr-xr-x | systray | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/systray b/systray deleted file mode 100755 index 0fbc768..0000000 --- a/systray +++ /dev/null @@ -1,17 +0,0 @@ -#!/usr/bin/env bash - -hidden=/tmp/syshide.lock -file="$HOME/.config/polybar/config.ini" - -if [[ ! -e $hidden ]]; then - polybar-msg action "#systray.hook.1" - xdo hide -n stalonetray - touch "$hidden" - sed -i 's/systray\ninitial=.*/systray\ninitial=2/g' "$file" -else - polybar-msg action "#systray.hook.0" - xdo show -n stalonetray - xdo raise -n stalonetray - rm "$hidden" - sed -i 's/systray\ninitial=.*/systray\ninitial=1/g' "$file" -fi |
