From 2fb2affea5f4a2994e8d32264a7f67c5e674afe5 Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Wed, 7 Oct 2026 10:04:26 +0200 Subject: feat(firefox): blur the new tab background The new tab showed the wallpaper verbatim, so it read as a hole onto the desktop. write_firefox now scales the wallpaper to 1920 wide and applies a Gaussian blur (FIREFOX_BLUR, radius 24) with PIL before saving it into FF Ultima's darknix.png slot. Saving through PIL also makes the file a real PNG whatever the wallpaper's format. Co-Authored-By: Claude Opus 5.5 --- AGENTS.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'AGENTS.md') diff --git a/AGENTS.md b/AGENTS.md index 3a7401d..92f8894 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -270,9 +270,10 @@ the terminal palette follows the scheme and never the wallpaper. The write lands after `wallp` has already run `wal --theme`, so it wins; reorder those two and pywal's wallpaper-derived colours come back. -Firefox's new tab shows the wallpaper itself, not a colour. FF Ultima picks -the new tab background from a fixed list of images by pref, and `udt-accent` -copies the wallpaper over its `walls/darknix.png` slot; selecting it once +Firefox's new tab shows the wallpaper, blurred so it reads as a page and not +as the desktop. FF Ultima picks the new tab background from a fixed list of +images by pref, and `udt-accent` writes a blurred copy (PIL, `FIREFOX_BLUR`) +over its `walls/darknix.png` slot; selecting it once (`user.theme.wallpaper.darknix` in `about:config`) is the only manual step. A copy, not a symlink: Firefox's sandbox will not follow a link out of the profile, and the new tab stays blank. -- cgit v1.2.3