Initial Commit

This commit is contained in:
eneller committed 2024-03-21 12:35:55 +01:00
commit 62f344a83d
30 files changed
+2146

No files matched your search

+19
View File
@@ -0,0 +1,19 @@
#!/usr/bin/env bash
## Copyright (C) 2020-2022 Aditya Shakya <adi1090x@gmail.com>
## Everyone is permitted to copy and distribute copies of this file under GNU-GPL3
## launch waybar with alt config
# Terminate already running bar instances
killall -q waybar
# Wait until the processes have been shut down
while pgrep -x waybar >/dev/null; do sleep 1; done
CONFIG="$HOME/.config/sway/waybar/config.ini"
STYLE="$HOME/.config/sway/waybar/style.css"
if [[ ! `pidof waybar` ]]; then
waybar --bar main-bar --log-level error --config ${CONFIG} --style ${STYLE} &
fi