.s/scripts/theme/hooks/waybar.sh

9 lines
169 B
Bash
Raw Permalink Normal View History

2024-08-26 22:34:49 -04:00
#!/bin/bash
NEW_THEME=$2
STYLE=$([ "$NEW_THEME" = "light" ] && echo "style.css" || echo "style.dark.css")
killall waybar
waybar --style=$HOME/.config/waybar/$STYLE &