[Polybar] Add polybar-themes installation script

This commit is contained in:
reo6 2023-05-09 11:06:00 +03:00
parent a36d2ab52f
commit 50e02d4258
386 changed files with 58661 additions and 0 deletions

View file

@ -0,0 +1,17 @@
#!/usr/bin/env bash
SDIR="$HOME/.config/polybar/pwidgets/scripts"
# Launch Rofi
MENU="$(rofi -no-config -no-lazy-grab -sep "|" -dmenu -i -p '' \
-theme $SDIR/rofi/styles.rasi \
<<< " Default| Nord| Gruvbox| Dark| Cherry| White| Black|")"
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 ;;
*White) "$SDIR"/styles.sh --white ;;
*Black) "$SDIR"/styles.sh --black ;;
esac