Archlinux basic installation configuration scripts
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
746 B

  1. #!/usr/bin/env bash
  2. SDIR="$HOME/.config/polybar/cuts/scripts"
  3. # Launch Rofi
  4. MENU="$(rofi -no-config -no-lazy-grab -sep "|" -dmenu -i -p '' \
  5. -theme $SDIR/rofi/styles.rasi \
  6. <<< " Black| Adapta| Dark| Red| Green| Teal| Gruvbox| Nord| Solarized| Cherry|")"
  7. case "$MENU" in
  8. *Black) "$SDIR"/styles.sh --mode1 ;;
  9. *Adapta) "$SDIR"/styles.sh --mode2 ;;
  10. *Dark) "$SDIR"/styles.sh --mode3 ;;
  11. *Red) "$SDIR"/styles.sh --mode4 ;;
  12. *Green) "$SDIR"/styles.sh --mode5 ;;
  13. *Teal) "$SDIR"/styles.sh --mode6 ;;
  14. *Gruvbox) "$SDIR"/styles.sh --mode7 ;;
  15. *Nord) "$SDIR"/styles.sh --mode8 ;;
  16. *Solarized) "$SDIR"/styles.sh --mode9 ;;
  17. *Cherry) "$SDIR"/styles.sh --mode10 ;;
  18. esac