.s/scripts/theme/hooks/waybar.sh
2024-08-26 19:34:49 -07:00

9 lines
169 B
Bash
Executable File

#!/bin/bash
NEW_THEME=$2
STYLE=$([ "$NEW_THEME" = "light" ] && echo "style.css" || echo "style.dark.css")
killall waybar
waybar --style=$HOME/.config/waybar/$STYLE &