aboutsummaryrefslogtreecommitdiffstats
path: root/templates
AgeCommit message (Collapse)AuthorFilesLines
6 hoursfix(accent): make udt-accent scheme-independentDanilo M.2-17/+17
Two things still assumed Catppuccin. The QML header hardcoded "Catppuccin Macchiato" regardless of the scheme in use, and the selftest asserted that an orange input snaps to a colour named "peach", which is true only under Catppuccin: Tokyo Night calls that hue "orange" and the test failed the moment the scheme changed. The header now names the scheme it generated from. The snapping assertions test the property instead of the spelling: an input must land within 0.6 rad of its own hue, and a border neighbour must sit nearer the accent than its opposite. Both hold under any palette. Verified: --selftest passes under macchiato, tokyo-night, nord and dracula. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015gbjA2bmswN8jyPDKzrvqe
6 hoursfeat(palette): generate every themed config from one schemeDanilo M.4-147/+177
Colours were written down five times: rofi's palette.rasi, the waybar theme, the kitty theme, the conky and dunst templates, and a MACCHIATO dict inside udt-accent. Changing scheme meant finding all five, and they had already drifted: the active waybar theme was Macchiato while theme.css next to it was Mocha, and nothing imported the latter. Now a scheme is two files. palette/<scheme>.conf holds the colours under the scheme's own names, and palette/roles-<scheme>.conf says what each is for. palette/roles.conf is one `scheme =` line selecting the pair. bin/udt-palette renders that into each consumer's syntax and install.sh runs it first. The role map is per-scheme rather than shared because the palettes are genuinely different shapes: Nord has no `base`, Dracula no `surface0`, and forcing Catppuccin's names onto them would have meant either renaming their colours or inventing values. A role names a palette colour with two optional modifiers, `name/75` for alpha and `name*50` for brightness. The second exists because GTK's shade() has no palette name to point at. Ships macchiato, tokyo-night, nord and dracula. --selftest resolves every role in every scheme and asserts they define the same set, so a scheme that cannot satisfy a consumer fails at install rather than when someone switches to it. Verified against the live configs: all 46 waybar colours resolve identically to the previously active theme including its alpha() and shade() derivations, the kitty theme is colour-for-colour identical, and the rofi palette has the same 26 values. Generated files are gitignored; switching scheme and switching back reproduces the originals. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015gbjA2bmswN8jyPDKzrvqe
12 hoursfix: bump kitty font size for Inconsolata's narrower faceDanilo M.1-3/+3
13.0 to 15.0, the same correction waybar needed after the same font change. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01G6aeE37K4GHBsaM51yLTTq
12 hoursfeat: use Inconsolata for kitty as wellDanilo M.1-3/+10
Brings the terminal onto the same monospace font as the rest of the desktop. The live setting is inside the BEGIN_KITTY_FONTS block managed by kitty's font kitten; a stale commented-out font_family line above it was removed, since it looked authoritative but had no effect. Size left at 13.0. Inconsolata reads slightly smaller than CommitMono at the same nominal size, the same difference that needed a 2px bump in waybar. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01G6aeE37K4GHBsaM51yLTTq
12 hoursfeat: move kitty and neovim to Catppuccin MacchiatoDanilo M.2-0/+127
These were deliberately left until last: wallpaper-derived colours in kitty's ANSI slots were the original readability problem, since nothing in a wallpaper guarantees color4 stays legible against color0. A hand-tuned palette is safe for the opposite reason, so the move is onto Macchiato rather than back onto pywal. current-theme.conf was a symlink into the wal cache and is now a real file. wal.sh no longer recreates that symlink, which would have silently reverted the theme on the next wallpaper change. Neovim read the same pywal output via colorscheme pywal and now uses the catppuccin/nvim plugin. Its airline theme was base16_dracula, matching nothing; it is now base16, which derives from the active colorscheme. Measured before committing: every ANSI slot clears 4.5:1 against its own background in both themes except color0, which is the near-background slot in both. color8, used by some colourschemes for comments, does drop from 3.83:1 to 2.38:1, but the Catppuccin neovim plugin sets its own comment colour rather than using ANSI 8, confirmed on screen. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01G6aeE37K4GHBsaM51yLTTq
12 hoursfix: bump waybar font sizes for Inconsolata's narrower faceDanilo M.2-4/+8
Inconsolata renders smaller than Commit Mono at the same nominal size, so matching the number made the bar read smaller than before. Every size in fonts.css goes up by 2px. Both ends of the bar still fit without truncation. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01G6aeE37K4GHBsaM51yLTTq
12 hoursfeat: bring waybar's font in line with the rest of the desktopDanilo M.3-0/+116
Waybar was already Catppuccin Macchiato with a lavender accent, using the same hex values as the rofi palette, so only the font needed changing: it asked for Commit Mono Nerd Font, a third family outside the Noto Sans and Inconsolata pair. Monospace is kept deliberately, since a status bar is dense and numeric and proportional text makes values jitter as they update. Also records that the CSS load order in waybar's own CLAUDE.md is stale. The modules-*.css and states.css files it documents are not imported by anything; style.css pulls in styles/main.css instead. One of the dead files holds a font-family declaration that looks authoritative but has no effect. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01G6aeE37K4GHBsaM51yLTTq
12 hoursfeat: unify Qt5, Qt6 and GTK on Macchiato with a lavender accentDanilo M.6-0/+98
Installs the upstream Catppuccin Kvantum and GTK themes and points all four toolkits at them. Qt5 and Qt6 previously disagreed with each other as well as with the desktop: qt5ct carried a hand-rolled grey/purple palette and qt6ct used the stock darker.conf. Both now take their palette from Kvantum. Two things were not where they looked. GTK3's theme comes from gsettings on Wayland, not settings.ini, and gsettings was pinned to Breeze, which silently overrode the file; its icon-theme was likewise on breeze-dark while settings.ini said Material-Black-Plum-Suru. GTK4 ignores gtk-theme-name entirely, so its stylesheet is symlinked into ~/.config/gtk-4.0 instead. The accent is fixed rather than wallpaper-tracking, since Qt and GTK apps only reread a theme on restart. Lavender also replaces mauve as udt-accent's fallback so everything without a wallpaper-derived accent agrees. catppuccin/gtk is archived upstream. v1.0.3 works today but will not track future libadwaita changes; it is removable by deleting the directory. The tracked qt5ct/qt6ct files carry only the theme-relevant keys: the live files also hold an ignored_applications list of local paths. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01G6aeE37K4GHBsaM51yLTTq
13 hoursfeat: repalette conky to MacchiatoDanilo M.1-0/+102
Only the seven colour definitions in conky.config changed. The conky.text block is byte-identical: its layout is column-based on absolute ${goto} pixel offsets, so touching label widths or glyphs would need every goto on that line re-tuned. Mapping keeps each colour's role and its light/dark relationship, so the widget reads the same: headings and glyphs to lavender, field labels to teal, accent glyphs to mauve, separators to surface1, values to text. Conky does not hot-reload, so this needs a restart to take effect. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01G6aeE37K4GHBsaM51yLTTq
13 hoursfeat: theme dunst in Macchiato with a wallpaper-driven accent frameDanilo M.1-0/+75
Notifications previously drew their colours from the pywal preset, so they were pure black on white and did not match anything else. Structural colours are now fixed Macchiato, with the accent as the frame on normal urgency, a muted surface frame on low, and Macchiato red on critical. Font moves to Noto Sans to match the rest of the desktop. udt-accent substitutes the accent after pywal renders the template, then restarts dunst so it rereads the file. It restarts rather than just killing: nothing else respawns dunst, and a dead dunst means no notifications at all. Also fixes a dangling reference: the template pointed dunst's dmenu at darknix/main.rasi, a theme that no longer exists. The template is tracked here as templates/dunstrc; the live copy is ~/.config/wal/templates/dunstrc. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01G6aeE37K4GHBsaM51yLTTq