diff options
author | Aaditya Dhruv <[email protected]> | 2023-09-09 23:09:21 -0500 |
---|---|---|
committer | Aaditya Dhruv <[email protected]> | 2023-09-09 23:09:21 -0500 |
commit | 39044cddeeba5ad91402f8abfb2a286e48a4f50d (patch) | |
tree | 5187a5cba1e6f437e59310f17956f16e3638d291 /src/config/files/polybar/scripts/style-switch.sh | |
parent | 1811600f4f2547a6116e1cc1c91f8cf89adcac6b (diff) |
Move files for config role
This movement is needed to maintain the role structure
Diffstat (limited to 'src/config/files/polybar/scripts/style-switch.sh')
-rwxr-xr-x | src/config/files/polybar/scripts/style-switch.sh | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/config/files/polybar/scripts/style-switch.sh b/src/config/files/polybar/scripts/style-switch.sh new file mode 100755 index 0000000..e0188f3 --- /dev/null +++ b/src/config/files/polybar/scripts/style-switch.sh @@ -0,0 +1,15 @@ +#!/usr/bin/env bash + +SDIR="$HOME/.config/polybar/forest/scripts" + +# Launch Rofi +MENU="$(rofi -no-config -no-lazy-grab -sep "|" -dmenu -i -p '' \ +-theme $SDIR/rofi/styles.rasi \ +<<< " Default| Nord| Gruvbox| Dark| Cherry|")" + 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 ;; + esac |