diff options
Diffstat (limited to 'scripts/dot-local/bin/pywal')
| -rwxr-xr-x | scripts/dot-local/bin/pywal | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/scripts/dot-local/bin/pywal b/scripts/dot-local/bin/pywal new file mode 100755 index 0000000..ef494a0 --- /dev/null +++ b/scripts/dot-local/bin/pywal @@ -0,0 +1,17 @@ +#!/bin/sh + +wal_args= +if [ "$1" = -i ]; then + shift + wal_args="-i $@" +elif [ "$1" = -l ]; then + shift + theme=$(ls /usr/lib/python3.14/site-packages/pywal/colorschemes/dark | sed 's/\.json$//' | fzf) + wal_args="--theme $theme $@" +elif [ -z "$1" ]; then + wal_args="--theme random_dark" +else + wal_args="--theme $@" +fi + +wal $wal_args --cols16 -o ~/.config/wal/scripts/niri-colors.sh && touch -m ~/.config/ironbar/style.css |
