Skip to content

Commit

Permalink
video-wall: add monitors
Browse files Browse the repository at this point in the history
  • Loading branch information
wizzdom committed Apr 30, 2024
1 parent 922bb54 commit 12fb79f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions video-wall.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ then
fi

# set monitor
MONITOR="HDMI-A-1"
MONITOR1="DP-1"
MONITOR2="HDMI-A-1"

# checks if the first argument is empty, if it is, then it sets the video to the default
if [ -z $1 ]
Expand All @@ -27,4 +28,5 @@ else
fi

# set video wallpaper
mpvpaper -o "no-audio loop speed=0.8" $MONITOR "$VIDEO"
mpvpaper -o "no-audio loop speed=0.8" $MONITOR1 "$VIDEO" &
mpvpaper -o "no-audio loop speed=0.8" $MONITOR2 "$VIDEO" &

0 comments on commit 12fb79f

Please sign in to comment.