diff options
author | salad <fmoenne-@student.le-101.fr> | 2020-05-08 15:57:02 +0200 |
---|---|---|
committer | salad <fmoenne-@student.le-101.fr> | 2020-05-08 15:57:02 +0200 |
commit | 2136bc1af703a4f6f05eeedf5cab3f08b9b41a0b (patch) | |
tree | f7c59ba0ea3fb6e20deaa27aef10f779d1af4131 /polybar/launch.sh | |
parent | addED indent style (diff) | |
download | dotfiles-2136bc1af703a4f6f05eeedf5cab3f08b9b41a0b.tar.gz dotfiles-2136bc1af703a4f6f05eeedf5cab3f08b9b41a0b.tar.bz2 dotfiles-2136bc1af703a4f6f05eeedf5cab3f08b9b41a0b.tar.xz dotfiles-2136bc1af703a4f6f05eeedf5cab3f08b9b41a0b.tar.zst dotfiles-2136bc1af703a4f6f05eeedf5cab3f08b9b41a0b.zip |
switchED to doom emacs + addED bspWM & polybar & sxhkd
Diffstat (limited to 'polybar/launch.sh')
-rwxr-xr-x | polybar/launch.sh | 15 |
1 files changed, 15 insertions, 0 deletions
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..." |