diff options
author | Amin Bandali <amin@aminb.org> | 2017-02-04 22:15:00 -0500 |
---|---|---|
committer | Amin Bandali <amin@aminb.org> | 2017-02-04 22:23:47 -0500 |
commit | 23a1f61aaf2144d071025e6e6b618007df648296 (patch) | |
tree | ceb694b8bbd87c17c31151bf5540d1eeaafb454e /bspwm/.local/bin/toggle_tray | |
parent | 45c2290600a542c9c5dbda4a8d4d07d6f2a6c134 (diff) | |
download | configs-23a1f61aaf2144d071025e6e6b618007df648296.tar.gz configs-23a1f61aaf2144d071025e6e6b618007df648296.tar.xz configs-23a1f61aaf2144d071025e6e6b618007df648296.zip |
bspwm and sxhkd config updates
Diffstat (limited to 'bspwm/.local/bin/toggle_tray')
-rwxr-xr-x | bspwm/.local/bin/toggle_tray | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/bspwm/.local/bin/toggle_tray b/bspwm/.local/bin/toggle_tray deleted file mode 100755 index c081995..0000000 --- a/bspwm/.local/bin/toggle_tray +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/bash - -# from https://github.com/kallith/Dotfiles - -if [ $(pgrep -cf stalonetray) -gt 0 ]; then - wid=$(xdotool search --class stalonetray) - if [ "$(xdotool search --onlyvisible --class stalonetray)" != "" ]; then - xdotool windowunmap $wid - else - xdotool windowmap $wid - xdotool windowraise $wid - fi -else - xdotool search --class stalonetray - stalonetray -fi |