diff options
Diffstat (limited to 'scripts/scripts/hidebars.sh')
-rwxr-xr-x | scripts/scripts/hidebars.sh | 23 |
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 | |||
3 | pkill n30f | ||
4 | while getopts hs options | ||
5 | do | ||
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 | ||
23 | done | ||