diff options
| author | Danilo M. <danix@danix.xyz> | 2026-09-16 08:27:27 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-09-16 08:27:27 +0200 |
| commit | e520610f5bb3512a4243f2f14f016cdd02badbcd (patch) | |
| tree | f35eeb1279d6bcf5a928c1215bdee985e7a3640f /AGENTS.md | |
| parent | a183b4a054d96f310d867b79d7b9fb7a6b875bb8 (diff) | |
| download | unified-desktop-theme-e520610f5bb3512a4243f2f14f016cdd02badbcd.tar.gz unified-desktop-theme-e520610f5bb3512a4243f2f14f016cdd02badbcd.zip | |
refactor(dunst): drop dunst as a consumer, quickshell presents now
dunst no longer runs on this desktop. notifyd owns
org.freedesktop.Notifications and the quickshell notifications shell
draws the balloons, reading the palette from ~/.cache/wal/udt-palette.qml
like every other quickshell component. So the whole dunst path was
generating a config nothing read.
It was also actively wrong. pywal rendered ~/.cache/wal/dunstrc from the
installed template, then wal.sh restarted dunst on it while @ACCENT@ was
still an unsubstituted placeholder, and udt-accent restarted it a second
time after substituting. Two restarts per wallpaper change, the first on
a broken config, for a daemon that could not claim the bus name anyway.
Removes gen_dunst and its TARGETS entry, write_dunst and DUNSTRC, the
install block, templates/dunstrc.in and the gitignore entry. The reload
table now lists quickshell, which needs no signal: it watches the
generated palette and re-reads it in place.
The [state] roles stay. They were never dunst-only; waybar module states
and conky warnings use the same four.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Diffstat (limited to 'AGENTS.md')
| -rw-r--r-- | AGENTS.md | 22 |
1 files changed, 11 insertions, 11 deletions
@@ -5,9 +5,9 @@ Guidance for agents working in this repository. ## What this is One visual identity for a Hyprland desktop: Catppuccin Macchiato, Noto Sans for -UI text, Inconsolata Nerd Font Mono for monospace. It covers rofi, dunst, -Hyprland window borders, conky, Qt5/Qt6, GTK3/GTK4, waybar, kitty, Sublime Text -and neovim. +UI text, Inconsolata Nerd Font Mono for monospace. It covers rofi, Hyprland +window borders, conky, Qt5/Qt6, GTK3/GTK4, waybar, kitty, Sublime Text and +neovim. The repo holds the canonical copies. `./install.sh` symlinks them into place, so the working config cannot drift from what is committed. Everything outside @@ -38,7 +38,7 @@ All nine are dark. A light scheme is not a role remap: homepage is pinned Generated files are gitignored, because tracking them would turn every scheme switch into a diff. Editing one is pointless: the next install overwrites it. -The generated set is `rofi/udt/palette.rasi`, `templates/dunstrc`, +The generated set is `rofi/udt/palette.rasi`, `templates/conky.conf`, `templates/waybar/theme.css`, `templates/terminal/kitty-theme.conf`, `templates/homepage/custom.css`, `templates/kvantum/theme.{kvconfig,svg}`, @@ -113,11 +113,10 @@ One colour moves: `@accent`. `bin/udt-accent` reads the current wallpaper, extracts its signature colour, and snaps it to the nearest of ten Catppuccin accents by perceptual hue in CIELAB. `wallp` calls it on every wallpaper change. -It writes six things: `~/.cache/wal/udt-accent.rasi` (rofi), -`~/.cache/wal/udt-border.lua` (Hyprland), the accent substitution in -`~/.cache/wal/dunstrc`, `~/.cache/wal/colors.json` (Firefox, via -pywalfox), `~/.cache/wal/udt-palette.qml` (quickshell), and the accent -substitution in Sublime's installed +It writes five things: `~/.cache/wal/udt-accent.rasi` (rofi), +`~/.cache/wal/udt-border.lua` (Hyprland), `~/.cache/wal/colors.json` +(Firefox, via pywalfox), `~/.cache/wal/udt-palette.qml` (quickshell), and +the accent substitution in Sublime's installed `Packages/User/udt.sublime-color-scheme`. **Sublime's accent is replaced, not substituted into a placeholder.** Its @@ -150,7 +149,8 @@ the terminal palette stays fixed no matter what the wallpaper looks like. The write lands after `wallp` has already run `wal --theme`, so it wins; reorder those two and pywal's wallpaper-derived colours come back. -Not everything tracks the wallpaper. rofi, dunst, Hyprland borders, Sublime's +Not everything tracks the wallpaper. rofi, quickshell, Hyprland borders, +Sublime's colour scheme and Firefox do; conky, Qt, GTK, waybar and Sublime's UI chrome sit on fixed lavender, which is also the fallback when a wallpaper is too grey to snap. Qt and GTK apps only reread a theme on restart, @@ -232,7 +232,7 @@ The table is what it does, and what to run if you change a config by hand. | | How | | --- | --- | | rofi | nothing; the theme is read per launch | -| dunst | `udt-accent` restarts it | +| quickshell | nothing; it watches the generated palette and re-reads it | | Firefox | `udt-accent` runs `pywalfox update` | | Hyprland | `hyprctl reload` | | waybar | `killall -SIGUSR2 waybar` | |
