Files
dotfiles/.config/waybar/scripts/refresh.sh
2025-07-05 16:01:18 +02:00

13 lines
203 B
Bash
Executable File

#!/bin/bash
# Check if waybar is running
if pgrep -x "waybar" > /dev/null; then
# If running, kill the waybar process
pkill -x "waybar"
else
# If not running, start waybar
waybar &
fi