Add support for extra themes, other small changes, drop btop

This commit is contained in:
2025-10-30 13:23:09 -05:00
parent bd5cb81499
commit 5c8dfa34ca
37 changed files with 336 additions and 146 deletions

View File

@@ -26,9 +26,8 @@ theme-update-neovim &
# theme-update-obsidian # TODO: implement
# theme-update-browser # TODO: implement
# theme-update-reaper # TODO: implement
theme-update-system-monitor # TODO: do i actually want this? or just use htop monochrome mode and let it use terminal colors
# theme-update-gimp # TODO: possible and actually desired? my main use case is just a blackboard, maybe let it be
# theme-update-mutt # TODO: possible and actually desired?
# theme-update-irc # TODO: possible and actually desired?
theme-update-wallpaper &
theme-update-wallpaper "zz-default-for-theme" &

View File

@@ -1,7 +0,0 @@
#!/bin/zsh
# TODO: htop even possible? maybe can change what colors it sees from terminal itself
# pkill -SIGUSR1 htop
# pkill -SIGUSR2 htop
pkill -SIGUSR2 btop

View File

@@ -15,11 +15,11 @@ NESTED_SWIFT_BLOCK
)
}
# TODO: decide if and how to make this work for cycling through wallpapers per theme
wallpaper_dir=$DIR_THEME_SETTINGS/.current-theme/wallpaper
image_paths=($(find $wallpaper_dir -type f | sort)) 2> /dev/null
target_wallpaper=${image_paths[@]:0:1}
[[ $1 = "zz-default-for-theme" ]] && target_wallpaper=${image_paths[@]:0:1} ||
target_wallpaper=$(printf '%s\n' ${image_paths[@]} | fzf)
[[ -z $target_wallpaper ]] && exit 0
[[ "$OSTYPE" = *"darwin"* ]] && set_wallpaper_macos $target_wallpaper ||