From 6c0b88bedab9ea0d33bb8f035a02c7a571e351df Mon Sep 17 00:00:00 2001 From: lucy Date: Fri, 20 Feb 2026 15:43:51 +0100 Subject: [PATCH] update to make colors look better --- templates/nvim.lua | 2 ++ templates/pywalfox.json | 22 ++++++++++++++++++++++ wallust.toml | 12 +++++++----- 3 files changed, 31 insertions(+), 5 deletions(-) create mode 100644 templates/pywalfox.json diff --git a/templates/nvim.lua b/templates/nvim.lua index 70c6748..3303b14 100644 --- a/templates/nvim.lua +++ b/templates/nvim.lua @@ -27,6 +27,7 @@ local c = { c13 = "{{color13}}", c14 = "{{color14}}", c15 = "{{color15}}", + tbg = "{{color0 | lighten(0.1)}}", } local hl = function(group, opts) @@ -39,6 +40,7 @@ hl("Cursor", { fg = c.bg, bg = c.cursor }) hl("LineNr", { fg = c.c8 }) hl("CursorLine", { bg = c.c0 }) hl("StatusLine", { fg = c.fg, bg = c.c0 }) +hl("TelescopeNormal", { bg = c.tbg }) -- Syntax hl("Comment", { fg = c.c8, italic = true }) diff --git a/templates/pywalfox.json b/templates/pywalfox.json new file mode 100644 index 0000000..67bc3fa --- /dev/null +++ b/templates/pywalfox.json @@ -0,0 +1,22 @@ +{ + "wallpaper": "{{wallpaper}}", + "alpha": "100", + "colors": { + "color0": "{{background}}", + "color1": "{{color0}}", + "color2": "{{color2}}", + "color3": "{{color3}}", + "color4": "{{color4}}", + "color5": "{{color5}}", + "color6": "{{color6}}", + "color7": "{{color7}}", + "color8": "{{color8}}", + "color9": "{{color9}}", + "color10": "{{color10}}", + "color11": "{{color11}}", + "color12": "{{color12}}", + "color13": "{{color13}}", + "color14": "{{color14}}", + "color15": "{{color15}}" + } +} diff --git a/wallust.toml b/wallust.toml index 8b54cb8..4a3e8dc 100644 --- a/wallust.toml +++ b/wallust.toml @@ -11,11 +11,11 @@ # How the image is parse, in order to get the colors: # full - resized - wal - thumb - fastresize - kmeans -backend = "fastresize" +backend = "resized" # What color space to use to produce and select the most prominent colors: # lab - labmixed - lch - lchmixed -color_space = "lch" +color_space = "lchansi" # Use the most prominent colors in a way that makes sense, a scheme color palette: # dark - dark16 - darkcomp - darkcomp16 @@ -23,7 +23,7 @@ color_space = "lch" # harddark - harddark16 - harddarkcomp - harddarkcomp16 # softdark - softdark16 - softdarkcomp - softdarkcomp16 # softlight - softlight16 - softlightcomp - softlightcomp16 -palette = "dark" +palette = "ansidark16" # Ensures a "readable contrast" (OPTIONAL, disabled by default) # Should only be enabled when you notice an unreadable contrast frequently happening @@ -37,7 +37,8 @@ saturation = 55 # Alpha value for templating, by default 100 (no other use whatsoever) #alpha = 100 - +[hooks] +pywalfox = 'pywalfox update' [templates] # NOTE: prefer '' over "" for paths, avoids escaping. # template: A RELATIVE path that points to `~/.config/wallust/template` (depends on platform) @@ -45,7 +46,6 @@ saturation = 55 # ยก If either one is a directory, then both SHOULD be one. ! # zathura = { template = 'zathura', target = '~/.config/zathura/zathurarc' } foot = { template = 'foot.ini', target = '~/.config/foot/colors.ini' } -waybar = { template = 'waybar.css', target = '~/.config/waybar/colors.css' } nvim = { template = 'nvim.lua', target = '~/.config/nvim/colors/wallust.lua' } gtk3 = { template = 'gtk.css', target = '~/.config/gtk-3.0/colors.css' } gtk4 = { template = 'gtk.css', target = '~/.config/gtk-4.0/colors.css' } @@ -56,3 +56,5 @@ qt5ct = { template = 'qtct.conf', target = '~/.config/qt5ct/colors/wallust.conf' hyprland = { template = 'hyprland.conf', target = '~/.config/hypr/colors.conf' } quickshell = { template = 'Colors.qml', target = '~/.config/quickshell/Colors.qml'} kitty = { template = 'kitty.conf', target = '~/.config/kitty/colors.conf' } +pywalfox = { template = 'pywalfox.json', target = '~/.cache/wal/colors.json'} +