summaryrefslogtreecommitdiff
path: root/polybar/cuts/preview.sh
diff options
context:
space:
mode:
Diffstat (limited to 'polybar/cuts/preview.sh')
-rwxr-xr-xpolybar/cuts/preview.sh14
1 files changed, 0 insertions, 14 deletions
diff --git a/polybar/cuts/preview.sh b/polybar/cuts/preview.sh
deleted file mode 100755
index 9bb0ae6..0000000
--- a/polybar/cuts/preview.sh
+++ /dev/null
@@ -1,14 +0,0 @@
-#!/usr/bin/env bash
-
-DIR="$HOME/.config/polybar/cuts"
-
-# Terminate already running bar instances
-killall -q polybar
-
-# Wait until the processes have been shut down
-while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done
-
-# Launch the preview bar
-polybar -q top -c "$DIR"/preview.ini &
-polybar -q mid -c "$DIR"/preview.ini &
-polybar -q bottom -c "$DIR"/preview.ini &