configs/desktop/scripts/hypr.sh
Lucas Barbieri 86501e8afe add new monochrome colorscheme
glorb is godly
2024-03-28 11:10:33 -03:00

31 lines
983 B
Bash
Executable File

#!/bin/bash
# init script
CURRENT_THEME=$(cat ~/colorscheme)
case "$CURRENT_THEME" in
monochrome)
killall waybar; waybar -c ~/.config/waybar/dwm.jsonc \
-s ~/.config/waybar/dwm.css > /dev/null &
# hyprctl keyword general:col.active_border todo
;;
solarized)
killall waybar; waybar -s ~/.config/waybar/style-solarized.css > /dev/null &
# hyprctl keyword general:col.active_border todo
;;
melange)
killall waybar; waybar -s ~/.config/waybar/style-melange.css > /dev/null &
hyprctl keyword general:col.active_border "rgba(7892bdff) rgba(6e9b72ff) 45deg"
;;
white)
killall waybar; waybar -s ~/.config/waybar/style-solarized-light.css > /dev/null &
# hyprctl keyword general:col.active_border todo
;;
red)
killall waybar; waybar > /dev/null &
hyprctl keyword general:col.active_border "rgba(ff0038ee) rgba(33e2c5ee) 45deg"
;;
*)
exit 0
esac