From 2136bc1af703a4f6f05eeedf5cab3f08b9b41a0b Mon Sep 17 00:00:00 2001 From: salad Date: Fri, 8 May 2020 15:57:02 +0200 Subject: switchED to doom emacs + addED bspWM & polybar & sxhkd --- polybar/launch.sh | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100755 polybar/launch.sh (limited to 'polybar/launch.sh') diff --git a/polybar/launch.sh b/polybar/launch.sh new file mode 100755 index 0000000..822de9c --- /dev/null +++ b/polybar/launch.sh @@ -0,0 +1,15 @@ +#!/usr/bin/env bash + +# Terminate already running bar instances +killall -q polybar +# If all your bars have ipc enabled, you can also use +# polybar-msg cmd quit + +# Launch bar1 and bar2 +#echo "---" | tee -a /tmp/polybar1.log /tmp/polybar2.log +#polybar example >>/tmp/polybar1.log 2>&1 & +for m in $(polybar --list-monitors | cut -d":" -f1); do + MONITOR=$m polybar --reload example & +done + +echo "Bars launched..." -- cgit v1.2.3