1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-03 07:15:23 +02:00
tldr/pages/linux/xwinwrap.md
Managor 611d2c9a04
linux*: refresh old pages part 2 (#16263)
Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>
Co-authored-by: Machiavelli <145562237+MachiavelliII@users.noreply.github.com>
2025-04-27 10:35:40 +03:00

851 B

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}}