Files
DotFiles/waybar/scripts/refresh.sh
T
Thraix aecdb34116 Add fetch and install scripts
- Add fetch script which fetches the current config that is used by the
  system into the git repo
- Add install script which copies the config in the repo into the config
  folder for the user
- Add waybar as config
2026-05-19 19:38:06 +02:00

14 lines
216 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"
waybar &
else
# If not running, start waybar
waybar &
fi