diff options
Diffstat (limited to '.config/wallust')
| -rw-r--r-- | .config/wallust/templates/foot-colors-custom.ini | 5 | ||||
| -rw-r--r-- | .config/wallust/templates/niri.kdl | 6 | ||||
| -rw-r--r-- | .config/wallust/templates/starship.toml | 94 | ||||
| -rw-r--r-- | .config/wallust/wallust.toml | 5 |
4 files changed, 109 insertions, 1 deletions
diff --git a/.config/wallust/templates/foot-colors-custom.ini b/.config/wallust/templates/foot-colors-custom.ini index 5fc7983..fa7fd4c 100644 --- a/.config/wallust/templates/foot-colors-custom.ini +++ b/.config/wallust/templates/foot-colors-custom.ini @@ -1,7 +1,10 @@ # wallust foot template — foot expects colors without '#' [colors] background={{background}} -foreground={{foreground}} +# Pin foreground to the brightest palette color so typed text is always readable. +# wallust sorts color0=darkest / color15=brightest with --palette dark, and swaps +# them with --palette light, so this stays correct in both modes (no dark-on-dark). +foreground={{color15}} regular0={{color0}} regular1={{color1}} regular2={{color2}} diff --git a/.config/wallust/templates/niri.kdl b/.config/wallust/templates/niri.kdl new file mode 100644 index 0000000..227738c --- /dev/null +++ b/.config/wallust/templates/niri.kdl @@ -0,0 +1,6 @@ +layout { + focus-ring { + active-color "{{color4}}" + inactive-color "{{color8}}" + } +} diff --git a/.config/wallust/templates/starship.toml b/.config/wallust/templates/starship.toml new file mode 100644 index 0000000..11eaa93 --- /dev/null +++ b/.config/wallust/templates/starship.toml @@ -0,0 +1,94 @@ +palette = "noctalia" +add_newline = true +command_timeout = 200 +format = "$username$hostname$character [$directory$git_branch$git_status]($style)" + +[username] +show_always = true +format = "[$user]($style)" +style_user = "mauve" +[hostname] +disabled = false +ssh_only = false +format = "[@$hostname]($style)" +style = "mauve" + +[character] +format = "$symbol" # Removes the default trailing space after # +error_symbol = "[:~✗](bold red)" +success_symbol = "[:~#](bold mauve)" + +[directory] +style = "pink" +truncation_length = 2 +truncation_symbol = "///" +repo_root_style = "pink" +repo_root_format = "[$repo_root]($repo_root_style)[$path]($style)[$read_only]($read_only_style) " + +[git_branch] +symbol = "> " +format = "[$symbol$branch]($style) " +style = "italic pink" + +[git_status] +format = '[$all_status]($style)' +style = "purple" +ahead = "⇡${count} " +diverged = "⇕⇡${ahead_count}⇣${behind_count} " +behind = "⇣${count} " +conflicted = " " +up_to_date = " " +untracked = "? " +modified = " " +stashed = "" +staged = "" +renamed = "" +deleted = "" + +# >>> NOCTALIA STARSHIP PALETTE >>> +# Generated dynamically from wallust. Colors follow the active dark/light mode: +# wallust sorts color0=darkest / color15=brightest with --palette dark (swapped +# in light mode), so base/text/etc. auto-adapt — no more dark-on-dark prompt. +# Source of truth: .config/wallust/templates/starship.toml + +[palettes.noctalia] +# Standard colors +blue = "{{color12}}" +# red/green pinned to fixed visible hues: some wallpapers yield a near-black +# color9/color10, which would be invisible on the dark terminal. +red = "#E5484D" +green = "#7FB069" +yellow = "{{color11}}" +cyan = "{{color14}}" +magenta = "{{color13}}" +white = "{{color15}}" +black = "{{color0}}" + +# Extended palette (Catppuccin-compatible names) +rosewater = "{{color11}}" +flamingo = "{{color9}}" +pink = "{{color13}}" +mauve = "{{color13}}" +maroon = "{{color9}}" +peach = "{{color11}}" +teal = "{{color14}}" +sky = "{{color14}}" +sapphire = "{{color12}}" +lavender = "{{color13}}" + +# Text shades +text = "{{color15}}" +subtext1 = "{{color15}}" +subtext0 = "{{color8}}" + +# Surface shades +overlay2 = "{{color8}}" +overlay1 = "{{color8}}" +overlay0 = "{{color15}}" +surface2 = "{{color0}}" +surface1 = "{{color0}}" +surface0 = "{{color0}}" +base = "{{background}}" +mantle = "{{background}}" +crust = "{{background}}" +# <<< NOCTALIA STARSHIP PALETTE <<< diff --git a/.config/wallust/wallust.toml b/.config/wallust/wallust.toml index 2d8d618..d2433d2 100644 --- a/.config/wallust/wallust.toml +++ b/.config/wallust/wallust.toml @@ -1,4 +1,7 @@ +[wallust] backend = "fastresize" +threshold = 20 +# palette = "dark" # optional default; otherwise taken from the saved state/flag [templates] nvim = { template = "nvim.lua", target = "~/.cache/wallust/colors/wallust.lua" } @@ -7,6 +10,8 @@ vicinae_dark = { template = "vicinae-dark.toml", target = "~/.cache/wallust/vici vicinae_light = { template = "vicinae-light.toml", target = "~/.cache/wallust/vicinae-light.toml" } mako = { template = "mako", target = "~/.cache/wallust/mako" } vis = { template = "vis-theme.lua", target = "~/.cache/wallust/vis-theme.lua" } +starship = { template = "starship.toml", target = "~/.config/starship.toml" } +niri = { template = "niri.kdl", target = "~/.cache/wallust/niri-theme.kdl" } [hooks] strip_foot_hash = "sed -i '/^[^#]/s/#//g' ~/.cache/wallust/foot-theme.ini" |
