diff options
author | Philip Wittamore <philip@wittamore.com> | 2025-05-08 08:57:15 +0200 |
---|---|---|
committer | Philip Wittamore <philip@wittamore.com> | 2025-05-08 08:57:15 +0200 |
commit | 8aca8c547605f536bc295dd1941de1ccb05d7b2e (patch) | |
tree | d1ef1f0fd3f271b586f01567ef9065617dd83336 /choose-theme | |
parent | af70c01c0e07289064b926374232add1ad90631b (diff) | |
download | scripts-8aca8c547605f536bc295dd1941de1ccb05d7b2e.tar.gz scripts-8aca8c547605f536bc295dd1941de1ccb05d7b2e.tar.bz2 scripts-8aca8c547605f536bc295dd1941de1ccb05d7b2e.zip |
added more scripts
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 |