diff options
Diffstat (limited to 'choose-theme')
-rwxr-xr-x | choose-theme | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/choose-theme b/choose-theme new file mode 100755 index 0000000..183bc76 --- /dev/null +++ b/choose-theme @@ -0,0 +1,34 @@ +#!/usr/bin/env bash + +# Change background image and create +# a corresponding theme with Pywal16 +# then post process +# +# requires nsxiv, pywal16 +# ~/.local/bin is in PATH + +FOLDER=~/Pictures/wallpaper +# thumbnail display of images +CHOICE=$(nsxiv -otb $FOLDER/*) + +wal --cols16 darken -i $CHOICE + +# Post process + +# Xresources +xrdb merge .Xresources + +# DWM +cd ~/.local/src/LIVE/dwm +make clean ; make +rm -f ~/.local/bin/dwm +cp dwm ~/.local/bin + +# DWMMENU +rm -f ~/.local/bin/dmenu* +cd ~/.local/src/LIVE/dmenu +make clean ; make +cp {dmenu,dmenu_run,dmenu_path} ~/.local/bin + +# DUNST +launch-dunst |