diff options
Diffstat (limited to 'common/bin/retheme')
-rwxr-xr-x | common/bin/retheme | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/common/bin/retheme b/common/bin/retheme new file mode 100755 index 0000000..8d52eeb --- /dev/null +++ b/common/bin/retheme @@ -0,0 +1,16 @@ +#!/bin/sh + +case "$1" in + "light") + opts="-li" + ;; + "dark") + opts="-i" + ;; + *) + echo "'$1' not 'light' or 'dark'" 1>&2 + exit 1 + ;; +esac + +mywal $opts $(cat ~/.cache/wal/wal) |