This commit is contained in:
2024-04-07 17:44:55 -06:00
parent 5c1270830c
commit 1f4d4ab9df
15 changed files with 104 additions and 38 deletions

26
scripts/set-desktop-theme Executable file
View File

@@ -0,0 +1,26 @@
#!/usr/bin/env bash
# Favorites:
# - horizon-terminal-dark
# - heetch
# - blueforest
# - tarot
export SCHEME=$1
shchemes install_tinted_scheme
shchemes inject "$HOME/.config/qutebrowser/config.py"
pkill -HUP qutebrowser
BSPWM_THEME="$HOME/.config/bspwm/colors"
shchemes create_theme bspwm > "$BSPWM_THEME"
"$BSPWM_THEME"
shchemes inject "$HOME/.config/alacritty/alacritty.toml"
shchemes inject "$HOME/.config/rofi/config.rasi" "//"
WALLPAPER_OUT="$HOME/.wallpaper.png"
shchemes create_theme imagemagick \
| convert ~/pictures/wallpapers/tradin.jpg -dither FloydSteinberg -colorspace srgb -remap txt:- "$WALLPAPER_OUT"
feh --bg-scale "$WALLPAPER_OUT"