aboutsummaryrefslogtreecommitdiffstats
path: root/tests
AgeCommit message (Collapse)AuthorFilesLines
3 daysfeat: copy the vertical wallpaper to a phoneDanilo M.1-0/+49
With PHONE_V set, every change of the vertical wallpaper is copied to that path, a fixed name inside a folder Syncthing shares with a phone, where a Termux loop applies it (script in the README). A copy, not a symlink, because Syncthing does not follow links. It is built in ~/.cache/wallp and moved into place, so Syncthing never sees a partial file. PHONE_SIZE (WxH) crops it to the phone screen, centred, with magick, as swaybg's fill does: Android otherwise scales a landscape image to the screen height and shows its left edge. A stamp of source and size skips an image already copied, so a --restore at login does not make the phone reapply it. Unset PHONE_V does nothing. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-16feat: drop pywal theming for the unified desktop themeDanilo M.1-72/+31
wallp no longer owns a colour theme. The --theme flag, the THEME config key, the persisted ~/.config/wallp/theme file and the wal invocation are gone; finalize now writes ~/.cache/udt/wpaper and hands it to udt-accent, which owns the whole palette (rofi, Hyprland, Firefox, quickshell, Sublime). That call is best-effort: a missing or failing udt-accent must never stop a wallpaper from being set, so wal is also dropped from the required-binary check. Tests follow the same shape: the theme-resolution and apply_theme cases are removed, the wal stub is replaced by udt-accent, and two new cases cover finalize calling udt-accent on the symlink and surviving its failure. Docs updated to match, including the install method: ~/bin/wallp is now a symlink to the checkout rather than a copy, so repo edits no longer need a manual re-copy to reach the live desktop. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-06-11fix: help markup uses <br> + nbsp padding for qarma layoutdanix1-0/+1
qarma --info collapses newlines and runs of spaces. Use <br> for line breaks and &#160; for column padding; --width=600 prevents description wrap. GTK min-width keeps the dialog wide regardless. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-11feat: render help with Pango markup in qarmadanix1-0/+20
qarma --info supports Pango markup; bold headers + monospace command column. Stdout path stays plain text (no tags leak to terminal). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-11fix: qarma_select returns empty with plain --listdanix1-0/+26
Use --radiolist --print-column=2 so the selected screen value is actually printed. Plain --list printed nothing on selection, so the qarma set flow exited without applying. Caught in hardware smoke test. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-11feat: required-binary preflight check in maindanix1-0/+13
Spec error-handling requirement (swaybg/wal always, qarma when GUI). Caught by final integration review. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-11feat: help screen + main dispatchdanix1-0/+30
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-11feat: set action (CLI + qarma selection)danix1-0/+23
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-11feat: restore action (saved -> default fallback)danix1-0/+21
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-11feat: wpaper symlink + theme applicationdanix1-0/+14
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-11feat: apply_output with selective kill + persistencedanix1-0/+25
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-11feat: parse --set H=/V= argumentsdanix1-0/+27
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-11feat: output mapping + state path helpersdanix1-0/+22
Add three helper functions for logical-to-physical output mapping and state file paths: output_for maps H|V to physical connectors, wall_file_for returns config paths, pid_file_for returns cache paths. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-11feat: theme resolution + persistencedanix1-0/+25
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-11feat: conf bootstrap + required-key validationdanix1-0/+26
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-11feat: parse_conf key=value config loaderdanix1-0/+17
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-11feat: expand_tilde helperdanix1-0/+11
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-11test: bats setup/teardown + sourceable wallp stubdanix1-0/+28
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>