Keep the wallpaper when movie restores the screen layout

.fehbg now saves its random picks to ~/.cache/wallpapers and redraws them with
--keep; screen-layout passes this through with --keep-wallpaper, used by movie.
This commit is contained in:
Daniele Fucini
2026-10-24 16:31:02 +02:00
parent 12ba85b83b
commit b10970bf36
3 changed files with 20 additions and 2 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ if ! xrandr --query | grep -q '^HDMI-1-0 connected'; then
exec mpv "$@"
fi
trap ~/.local/bin/screen-layout EXIT
trap '"$HOME"/.local/bin/screen-layout --keep-wallpaper' EXIT
trap 'exit 130' INT TERM HUP
xrandr --output eDP-1 --off