diff options
| author | Danilo M. <danix@danix.xyz> | 2026-09-11 16:57:14 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-09-11 16:57:14 +0200 |
| commit | c7cb9dad4e782ee0ff99773c3607ec3b7792c723 (patch) | |
| tree | 77c254017a10f678713028a5bb63c84c1aa08d2b /templates/terminal | |
| parent | 842f25460ba7034e8828e37b9e9431d5a2d11afa (diff) | |
| download | unified-desktop-theme-c7cb9dad4e782ee0ff99773c3607ec3b7792c723.tar.gz unified-desktop-theme-c7cb9dad4e782ee0ff99773c3607ec3b7792c723.zip | |
refactor(accent): resolve the wallpaper path, finish the atomic-write helper
colors.json recorded whatever path it was handed, so it read either the real
wallpaper or ~/.cache/wal/wpaper, the symlink to it, depending on the caller.
wallp passes the resolved file; a manual run usually passes the symlink. Same
wallpaper either way, so record one spelling.
write_atomic arrived with the quickshell palette but only write_border used
it. The other four writers kept their own copy of the same write-then-rename,
which is the duplication the helper was added to remove, so they use it now.
No behaviour change: the temp file was already created by mkstemp in every
case, so the resulting modes are the same.
Verified by running the script before and after: udt-palette.qml,
udt-accent.rasi and udt-border.lua are byte-identical, and colors.json differs
only in the wallpaper field this commit intends to change.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015gbjA2bmswN8jyPDKzrvqe
Diffstat (limited to 'templates/terminal')
0 files changed, 0 insertions, 0 deletions
