mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-04-24 01:38:28 +02:00
refactor(home/linux/desktop): home/linux/desktop => home/linux/gui
This commit is contained in:
15
home/linux/gui/i3/conf/polybar/blocks/scripts/style-switch.sh
Executable file
15
home/linux/gui/i3/conf/polybar/blocks/scripts/style-switch.sh
Executable file
@@ -0,0 +1,15 @@
|
||||
#!/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
|
||||
Reference in New Issue
Block a user