Initial Commit

This commit is contained in:
eneller
2024-03-21 12:35:55 +01:00
commit 62f344a83d
30 changed files with 2146 additions and 0 deletions

19
.config/sway/scripts/statusbar Executable file
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