bspwm and sxhkd config updates
[~bandali/configs] / bspwm / .local / bin / toggle_tray
diff --git a/bspwm/.local/bin/toggle_tray b/bspwm/.local/bin/toggle_tray
deleted file mode 100755 (executable)
index c081995..0000000
+++ /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