dotfiles/sway/scripts/statusbar

14 lines
365 B
Plaintext
Raw Permalink Normal View History

2024-05-14 12:29:49 +03:00
#!/usr/bin/env bash
## Copyright (C) 2020-2023 Aditya Shakya <adi1090x@gmail.com>
##
## launch waybar with alt config
## Edited by yurihikari for Garuda Linux Sway
CONFIG="$HOME/.config/sway/waybar/config"
STYLE="$HOME/.config/sway/waybar/style.css"
if [[ ! `pidof waybar` ]]; then
waybar --bar main-bar --log-level error --config ${CONFIG} --style ${STYLE}
fi