mirror of
https://github.com/ksyasuda/rice.git
synced 2024-11-22 03:19:58 -08:00
16 lines
501 B
Bash
Executable File
16 lines
501 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
SDIR="$HOME/.config/polybar/blocks/scripts"
|
|
|
|
# Launch Rofi
|
|
MENU="$(rofi -no-config -no-lazy-grab -sep "|" -dmenu -i -p '' \
|
|
-theme $SDIR/rofi/styles.rasi \
|
|
<<< " Default| Nord| Gruvbox| Adapta| Cherry|")"
|
|
case "$MENU" in
|
|
*Default) "$SDIR"/styles.sh --default ;;
|
|
*Nord) "$SDIR"/styles.sh --nord ;;
|
|
*Gruvbox) "$SDIR"/styles.sh --gruvbox ;;
|
|
*Adapta) "$SDIR"/styles.sh --adapta ;;
|
|
*Cherry) "$SDIR"/styles.sh --cherry ;;
|
|
esac
|