.s/scripts/waybar_with_theme.sh
2024-08-26 19:34:49 -07:00

7 lines
207 B
Bash
Executable File

#!/bin/bash
THEME=$(gsettings get org.gnome.desktop.interface gtk-theme | tr -d "'")
STYLE=$([ $THEME = "light" ] && echo "style.css" || echo "style.dark.css")
waybar --style=$HOME/.config/waybar/$STYLE &