screenlock-video: Loop the video

This commit is contained in:
2024-10-04 17:45:34 +02:00
parent 2286485bb7
commit 6641a7cf7f

View File

@ -16,7 +16,7 @@ end
# Spawn an mpv instance for each monitor
for workspace in (hyprctl -j monitors | jq '.[] | .activeWorkspace.id')
# Thi "WORKSPACE n" title is read by hyprland to position the window correctly
mpv --fs --panscan=1.0 --title="WORKSPACE $workspace" $video &
mpv --fs --loop-file=inf --panscan=1.0 --title="WORKSPACE $workspace" $video &
end
$LOCKPROG