From 8d8f37156128b115a41d585259fee1be1d70a9bb Mon Sep 17 00:00:00 2001 From: Henrique Tsuyoshi Yara Date: Mon, 11 Oct 2021 17:44:33 -0300 Subject: [PATCH] xwinwrap: add page (#6852) --- pages/linux/xwinwrap.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 pages/linux/xwinwrap.md diff --git a/pages/linux/xwinwrap.md b/pages/linux/xwinwrap.md new file mode 100644 index 000000000..669db4e74 --- /dev/null +++ b/pages/linux/xwinwrap.md @@ -0,0 +1,20 @@ +# xwinwrap + +> Run a player or a program as desktop background. +> More information: . + +- 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}}`