Files
polybar-themes/bitmap/forest/scripts/style-switch.sh
adi1090x 46154c5283 Updated
2020-12-25 23:07:02 +05:30

16 lines
495 B
Bash
Executable File

#!/usr/bin/env bash
SDIR="$HOME/.config/polybar/forest/scripts"
# Launch Rofi
MENU="$(rofi -no-config -no-lazy-grab -sep "|" -dmenu -i -p '' \
-theme $SDIR/rofi/styles.rasi \
<<< " Default| Nord| Gruvbox| Dark| Cherry|")"
case "$MENU" in
*Default) "$SDIR"/styles.sh --default ;;
*Nord) "$SDIR"/styles.sh --nord ;;
*Gruvbox) "$SDIR"/styles.sh --gruvbox ;;
*Dark) "$SDIR"/styles.sh --dark ;;
*Cherry) "$SDIR"/styles.sh --cherry ;;
esac