aboutsummaryrefslogtreecommitdiff
path: root/scripts/scripts/hidebars.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/scripts/hidebars.sh')
-rwxr-xr-xscripts/scripts/hidebars.sh23
1 files changed, 0 insertions, 23 deletions
diff --git a/scripts/scripts/hidebars.sh b/scripts/scripts/hidebars.sh
deleted file mode 100755
index 6f449d6..0000000
--- a/scripts/scripts/hidebars.sh
+++ /dev/null
@@ -1,23 +0,0 @@
1#!/usr/bin/env bash
2
3pkill n30f
4while getopts hs options
5do
6 case $options in
7 h) # hide
8 pkill -f polybar\ artist
9 pkill -f polybar\ track
10 pkill -f polybar\ album
11 ;;
12 s) # show
13 if pgrep -f polybar\ artist > /dev/null; then
14 ~/scripts/popups/cover.sh
15 else
16 polybar artist &
17 polybar track &
18 polybar album &
19 ~/scripts/popups/cover.sh
20 fi
21 ;;
22 esac
23done