3 # from https://github.com/kallith/Dotfiles
5 if [ $
(pgrep
-cf stalonetray
) -gt 0 ]; then
6 wid
=$
(xdotool search
--class stalonetray
)
7 if [ "$(xdotool search --onlyvisible --class stalonetray)" != "" ]; then
8 xdotool windowunmap
$wid
10 xdotool windowmap
$wid
11 xdotool windowraise
$wid
14 xdotool search
--class stalonetray