[Polybar] Add polybar-themes installation script
This commit is contained in:
parent
a36d2ab52f
commit
50e02d4258
386 changed files with 58661 additions and 0 deletions
17
polybar/pwidgets/scripts/style-switch.sh
Executable file
17
polybar/pwidgets/scripts/style-switch.sh
Executable 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue