aboutsummaryrefslogtreecommitdiff
path: root/scripts/scripts/popups/cover.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/scripts/popups/cover.sh')
-rwxr-xr-xscripts/scripts/popups/cover.sh14
1 files changed, 0 insertions, 14 deletions
diff --git a/scripts/scripts/popups/cover.sh b/scripts/scripts/popups/cover.sh
deleted file mode 100755
index 356e5ba..0000000
--- a/scripts/scripts/popups/cover.sh
+++ /dev/null
@@ -1,14 +0,0 @@
1#!/usr/bin/env bash
2
3folder=$( cmus-remote -Q | grep -w file | sed 's/file //' )
4cover=${folder%/*}/cover.png
5
6convert "$cover" -resize 200x200 ~/tmp/cover.png
7
8if pgrep n30f > /dev/null
9then
10 pkill n30f
11 n30f -x 20 -y 700 ~/tmp/cover.png -c "hidebars.sh -h" -d
12else
13 n30f -x 20 -y 700 ~/tmp/cover.png -c "hidebars.sh -h" -d
14fi