xwinwrap: add page (#6852)

beep
Henrique Tsuyoshi Yara 2021-10-11 17:44:33 -03:00 committed by GitHub
parent 9912d26258
commit 8d8f371561
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 20 additions and 0 deletions

20
pages/linux/xwinwrap.md Normal file
View File

@ -0,0 +1,20 @@
# xwinwrap
> Run a player or a program as desktop background.
> More information: <https://github.com/ujjwal96/xwinwrap>.
- Run a video using mpv:
`xwinwrap -b -nf -ov -- {{mpv}} -wid {{wid}} --loop --no-audio --no-resume-playback --panscan={{1.0}} {{path/to/video.mp4}}`
- Run a video in fullscreen using mpv:
`xwinwrap -b -nf -fs -ov -- {{mpv}} -wid {{wid}} --loop --no-audio --no-resume-playback --panscan={{1.0}} {{path/to/video.mp4}}`
- Run a video using mpv with 80% opacity:
`xwinwrap -b -nf -ov -o 0.8 --- {{mpv}} -wid {{wid}} --loop --no-audio --no-resume-playback --panscan={{1.0}} {{path/to/video.mp4}}`
- Run a video using mpv in a second monitor 1600x900 with 1920 offset on X-axis:
`xwinwrap -g 1600x900+1920 -b -nf -ov -- {{mpv}} -wid {{wid}} --loop --no-audio --no-resume-playback --panscan={{1.0}} {{path/to/video.mkv}}`