polybar added for arch install

This commit is contained in:
2022-07-01 11:50:33 +05:30
parent 72eaa478be
commit a922f9e4a8
13 changed files with 276 additions and 24 deletions

View File

@@ -1,13 +1,12 @@
#!/usr/bin/env bash
#!/bin/bash
# Terminate already running bar instances
# terminate already running bar instances
# If all your bars have ipc enabled, you can use
# polybar-msg cmd quit
polybar-msg cmd quit
# Otherwise you can use the nuclear option:
killall -q polybar
# killall -q polybar
# Launch bar1 and bar2
echo "---" | tee -a /tmp/polybar1.log
polybar example 2>&1 | tee -a /tmp/polybar1.log & disown
echo "---" | tee -a /tmp/polybar1.log /tmp/polybar2.log
polybar statusBar 2>&1 | tee -a /tmp/polybar1.log & disown
echo "Bar launched..."
echo "Bars launched..."