summaryrefslogtreecommitdiff
path: root/mut/bin/set-bg
diff options
context:
space:
mode:
authorMike Vink <mike1994vink@gmail.com>2023-10-06 23:10:55 +0200
committerMike Vink <mike1994vink@gmail.com>2023-10-06 23:10:55 +0200
commitcfaef26e8718916adcc68fbfb63b15f2389b2cd2 (patch)
tree3989af4514d31d0a5cb89e8b96d51210ad7bf152 /mut/bin/set-bg
parent654ec06ab6a885ea851c4cbf68d06a00b41b0e14 (diff)
move all the files
Diffstat (limited to 'mut/bin/set-bg')
-rw-r--r--mut/bin/set-bg15
1 files changed, 15 insertions, 0 deletions
diff --git a/mut/bin/set-bg b/mut/bin/set-bg
new file mode 100644
index 0000000..bede726
--- /dev/null
+++ b/mut/bin/set-bg
@@ -0,0 +1,15 @@
+#!@bash@/bin/bash
+reload=0
+while getopts "r" opt; do
+ case "$opt" in
+ h|\?) exit 0 ;;
+ r) reload=1 ;;
+ esac
+done
+if [ $reload -eq 1 ]; then
+ # (cat ~/.cache/wal/sequences &)
+ wal -R
+else
+ sxiv -tob ~/bg | parallel wal -i
+fi
+kak -l | parallel '<<< "colorscheme wal" kak -p {}'