From 23a1f61aaf2144d071025e6e6b618007df648296 Mon Sep 17 00:00:00 2001
From: Amin Bandali <amin@aminb.org>
Date: Sat, 4 Feb 2017 22:15:00 -0500
Subject: bspwm and sxhkd config updates

---
 bspwm/.local/bin/toggle_tray | 16 ----------------
 1 file changed, 16 deletions(-)
 delete mode 100755 bspwm/.local/bin/toggle_tray

(limited to 'bspwm/.local/bin')

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
-- 
cgit v1.2.3-60-g2f50