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:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user