aboutsummaryrefslogtreecommitdiff
path: root/.config/polybar/launch.sh
diff options
context:
space:
mode:
authorAnInternetTroll <lucafulger@gmail.com>2022-05-21 09:46:16 +0000
committerAnInternetTroll <lucafulger@gmail.com>2022-05-21 09:46:16 +0000
commitbdddb2197df2cb91df2e414a0af32455ffe713e1 (patch)
treef067c548d9cfed56e5b7da98f212e3ad5523c33e /.config/polybar/launch.sh
parenta7688261bb384cc93836052f1dba14a178580465 (diff)
downloaddotfiles-bdddb2197df2cb91df2e414a0af32455ffe713e1.tar
dotfiles-bdddb2197df2cb91df2e414a0af32455ffe713e1.tar.gz
dotfiles-bdddb2197df2cb91df2e414a0af32455ffe713e1.tar.bz2
dotfiles-bdddb2197df2cb91df2e414a0af32455ffe713e1.tar.lz
dotfiles-bdddb2197df2cb91df2e414a0af32455ffe713e1.tar.xz
dotfiles-bdddb2197df2cb91df2e414a0af32455ffe713e1.tar.zst
dotfiles-bdddb2197df2cb91df2e414a0af32455ffe713e1.zip
Add bspwm and configure sway a bit more
Diffstat (limited to '')
-rwxr-xr-x.config/polybar/launch.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/.config/polybar/launch.sh b/.config/polybar/launch.sh
new file mode 100755
index 0000000..c190209
--- /dev/null
+++ b/.config/polybar/launch.sh
@@ -0,0 +1,12 @@
+#!/bin/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 Polybar, using default config location ~/.config/polybar/config.ini
+polybar --reload 2>&1 | tee -a /tmp/polybar.log & disown
+
+echo "Polybar launched..."
+