From ba31dd00cb93b861f4955c57a1be33a63c4efe95 Mon Sep 17 00:00:00 2001 From: Mike Vink Date: Sun, 25 Jun 2023 21:36:52 +0200 Subject: add some stuff --- shell-scripts/set-bg | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 shell-scripts/set-bg (limited to 'shell-scripts/set-bg') diff --git a/shell-scripts/set-bg b/shell-scripts/set-bg new file mode 100644 index 0000000..ad04730 --- /dev/null +++ b/shell-scripts/set-bg @@ -0,0 +1,16 @@ +#!@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 &) +else + sxiv -tob ~/bg | parallel wal -i +fi +kak -l | parallel '<<< "colorscheme wal" kak -p {}' +pgrep -x st | parallel kill +st -e tmux attach -- cgit v1.2.3