diff options
| author | Danilo M. <danix@danix.xyz> | 2026-10-05 19:09:28 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-10-05 19:09:28 +0200 |
| commit | 2d6bc39e822bd691e1393f7ae8af7098b56d658d (patch) | |
| tree | b0a382277ac7fd51b3b7e159298eac05408adc78 /install.sh | |
| parent | 8cffa0ce6348255e3e917fa26d30b16552fe6262 (diff) | |
| download | unified-desktop-theme-2d6bc39e822bd691e1393f7ae8af7098b56d658d.tar.gz unified-desktop-theme-2d6bc39e822bd691e1393f7ae8af7098b56d658d.zip | |
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 <noreply@anthropic.com>
Diffstat (limited to 'install.sh')
| -rwxr-xr-x | install.sh | 9 |
1 files changed, 0 insertions, 9 deletions
@@ -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 |
