mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-21 22:51:09 +00:00
Update cheatsheets
This commit is contained in:
25
linux/xwinwrap
Normal file
25
linux/xwinwrap
Normal file
@@ -0,0 +1,25 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# 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}}`
|
||||
Reference in New Issue
Block a user