From 585db1cbfbd6dda9e6fa4f419bbf206382ead784 Mon Sep 17 00:00:00 2001 From: Don Williams Date: Thu, 29 Jan 2026 19:41:23 -0500 Subject: Broke out kitty config for softdark16 and dark16 elsewhere On branch development Your branch is up to date with 'origin/development'. Changes to be committed: modified: config/hypr/scripts/WallustSwww.sh new file: config/wallust/wallust-kitty.toml modified: config/wallust/wallust.toml --- config/hypr/scripts/WallustSwww.sh | 17 +++++++++++++++++ config/wallust/wallust-kitty.toml | 11 +++++++++++ config/wallust/wallust.toml | 6 ++---- 3 files changed, 30 insertions(+), 4 deletions(-) create mode 100644 config/wallust/wallust-kitty.toml diff --git a/config/hypr/scripts/WallustSwww.sh b/config/hypr/scripts/WallustSwww.sh index 391abb8a..3cbfcc5a 100755 --- a/config/hypr/scripts/WallustSwww.sh +++ b/config/hypr/scripts/WallustSwww.sh @@ -114,6 +114,23 @@ wallust_targets=( ) wait_for_templates "$start_ts" "${wallust_targets[@]}" || true +# Run kitty-only wallust config to keep terminal palette separate +run_wallust_with_config() { + local cfg="$1" + if wallust run --help 2>&1 | grep -q -E '(^|[[:space:]])-c([,[:space:]]|$)|--config'; then + wallust run -s -c "$cfg" "$wallpaper_path" || true + else + WALLUST_CONFIG="$cfg" wallust run -s "$wallpaper_path" || true + fi +} + +kitty_cfg="$HOME/.config/wallust/wallust-kitty.toml" +if [ -f "$kitty_cfg" ]; then + kitty_ts=$(date +%s) + run_wallust_with_config "$kitty_cfg" + wait_for_templates "$kitty_ts" "$HOME/.config/kitty/kitty-themes/01-Wallust.conf" || true +fi + # Reload kitty colors when wallpaper-based theme is active kitty_wallust_theme="$HOME/.config/kitty/kitty-themes/01-Wallust.conf" if [ -s "$kitty_wallust_theme" ]; then diff --git a/config/wallust/wallust-kitty.toml b/config/wallust/wallust-kitty.toml new file mode 100644 index 00000000..69fe67f0 --- /dev/null +++ b/config/wallust/wallust-kitty.toml @@ -0,0 +1,11 @@ +# /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ # +# wallust configuration - kitty only + +backend = "fastresize" +color_space = "labmixed" +palette = "softdark16" +threshold = 11 + +[templates] +kitty.template = 'colors-kitty.conf' +kitty.target = '~/.config/kitty/kitty-themes/01-Wallust.conf' diff --git a/config/wallust/wallust.toml b/config/wallust/wallust.toml index 76d0267c..65077208 100644 --- a/config/wallust/wallust.toml +++ b/config/wallust/wallust.toml @@ -3,7 +3,7 @@ # How the image is parse, in order to get the colors: # full - resized - wal - thumb - fastresize - kmeans -backend = "kmeans" +backend = "fastresize" # What color space to use to produce and select the most prominent colors: # lab - labmixed - lch - lchmixed @@ -23,7 +23,7 @@ color_space = "labmixed" # * softdark16 - softdark with 16 color variation # * softlight - Light with soft pastel colors, counterpart of `harddark` # * softlight16 - softlight with 16 color variation -palette = "softdark16" +palette = "dark16" # Difference between similar colors, used by the colorspace: # 1 Not perceptible by human eyes. @@ -46,8 +46,6 @@ rofi.target = '~/.config/rofi/wallust/colors-rofi.rasi' waybar.template = 'colors-waybar.css' waybar.target = '~/.config/waybar/wallust/colors-waybar.css' -kitty.template = 'colors-kitty.conf' -kitty.target = '~/.config/kitty/kitty-themes/01-Wallust.conf' ghostty.template = 'colors-ghostty.conf' ghostty.target = '~/.config/ghostty/wallust.conf' -- cgit v1.2.3