From 2d6bc39e822bd691e1393f7ae8af7098b56d658d Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Mon, 5 Oct 2026 19:09:28 +0200 Subject: fix(firefox): copy the wallpaper, Firefox won't follow the link The darknix.png symlink out of the profile left the new tab blank, even after a restart: Firefox's sandbox does not follow it. udt-accent now copies the wallpaper over the slot on every change instead, removing any leftover link first so the copy cannot write through it into the wallpaper. install.sh no longer makes the link. Co-Authored-By: Claude Opus 5.5 --- install.sh | 9 --------- 1 file changed, 9 deletions(-) (limited to 'install.sh') diff --git a/install.sh b/install.sh index b0fd835..7a78f80 100755 --- a/install.sh +++ b/install.sh @@ -123,15 +123,6 @@ fi mkdir -p "$HOME/.cache/wal" ln -sfn "$HOME/.cache/udt/colors.json" "$HOME/.cache/wal/colors.json" -# Firefox's new tab background. FF Ultima picks it from a fixed list of -# images by pref; its darknix.png slot is pointed at the wallpaper udt-accent -# tracks, so selecting it once (user.theme.wallpaper.darknix in about:config) -# makes the new tab follow every wallpaper change. Skipped per profile -# without FF Ultima. -for walls in "$HOME"/.mozilla/firefox/*/chrome/theme/color-schemes/walls; do - [ -d "$walls" ] && ln -sfn "$HOME/.cache/udt/wpaper" "$walls/darknix.png" -done - # The rofi menus are bound by name in hypr-theme's keybindings, so they keep # the names they had when they lived loose in ~/bin. for f in udt-accent udt-grub udt-keyboard udt-steps udt-palette udt-machine-name udt-powermenu.sh udt-launcher.sh qar-scrotmenu.sh; do -- cgit v1.2.3