summaryrefslogtreecommitdiff
path: root/common/bin/retheme
diff options
context:
space:
mode:
authorSimon Parri <simonparri@ganzeria.com>2025-07-22 00:56:22 +0200
committerSimon Parri <simonparri@ganzeria.com>2025-07-22 11:49:01 +0200
commitd2c331b9f036951eef062dd5141c75182375ba12 (patch)
tree325bf3c56b70ec845e8de9349f45408ed844e747 /common/bin/retheme
downloaddotfiles-d2c331b9f036951eef062dd5141c75182375ba12.tar.gz
dotfiles-d2c331b9f036951eef062dd5141c75182375ba12.zip
Add current configuration
Diffstat (limited to 'common/bin/retheme')
-rwxr-xr-xcommon/bin/retheme16
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)