Last active
June 4, 2020 17:53
-
-
Save ncwhale/51d53826513bf47adcd1ec14dd4810cc to your computer and use it in GitHub Desktop.
Play any video on your Cinnamon( nemo-desktop ) Desktop using mpv.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
DESKTOP_WID=$(xdotool search --onlyvisible --classname "nemo-desktop" | head -n 1) | |
mpv --no-border --no-audio --osc=no --title="Desktop" --loop-playlist --wid="$DESKTOP_WID" "$@" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment