Initial setup commit
This commit is contained in:
12
hypr/scripts/launch-waybar.sh
Executable file
12
hypr/scripts/launch-waybar.sh
Executable file
@@ -0,0 +1,12 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
CONFIG="$HOME/.config/hypr/waybar/config"
|
||||
STYLE="$HOME/.config/hypr/waybar/style.css"
|
||||
|
||||
if [[ $(pgrep -x "waybar") = "waybar" ]]; then
|
||||
killall waybar
|
||||
else
|
||||
if [[ $(pgrep -x "waybar") = "" ]]; then
|
||||
waybar -c $CONFIG -s $STYLE >/dev/null 2>&1 &
|
||||
fi
|
||||
fi
|
||||
Reference in New Issue
Block a user