screenlock-video: Loop the video
This commit is contained in:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user