feat(polybar): update polybar style
This commit is contained in:
parent
9f00495503
commit
c57e8ab185
604 changed files with 86703 additions and 181 deletions
20
config/polybar/cuts/scripts/style-switch.sh
Executable file
20
config/polybar/cuts/scripts/style-switch.sh
Executable file
|
@ -0,0 +1,20 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
SDIR="$HOME/.config/polybar/cuts/scripts"
|
||||
|
||||
# Launch Rofi
|
||||
MENU="$(rofi -no-config -no-lazy-grab -sep "|" -dmenu -i -p '' \
|
||||
-theme $SDIR/rofi/styles.rasi \
|
||||
<<< " Black| Adapta| Dark| Red| Green| Teal| Gruvbox| Nord| Solarized| Cherry|")"
|
||||
case "$MENU" in
|
||||
*Black) "$SDIR"/styles.sh --mode1 ;;
|
||||
*Adapta) "$SDIR"/styles.sh --mode2 ;;
|
||||
*Dark) "$SDIR"/styles.sh --mode3 ;;
|
||||
*Red) "$SDIR"/styles.sh --mode4 ;;
|
||||
*Green) "$SDIR"/styles.sh --mode5 ;;
|
||||
*Teal) "$SDIR"/styles.sh --mode6 ;;
|
||||
*Gruvbox) "$SDIR"/styles.sh --mode7 ;;
|
||||
*Nord) "$SDIR"/styles.sh --mode8 ;;
|
||||
*Solarized) "$SDIR"/styles.sh --mode9 ;;
|
||||
*Cherry) "$SDIR"/styles.sh --mode10 ;;
|
||||
esac
|
Loading…
Add table
Add a link
Reference in a new issue