add new chinese translations
This commit is contained in:
20
pages.zh/linux/xwinwrap.md
Normal file
20
pages.zh/linux/xwinwrap.md
Normal file
@@ -0,0 +1,20 @@
|
||||
# xwinwrap
|
||||
|
||||
> 将播放器或程序作为桌面背景运行。
|
||||
> 更多信息:<https://github.com/ujjwal96/xwinwrap>。
|
||||
|
||||
- 使用 mpv 播放视频:
|
||||
|
||||
`xwinwrap -b -nf -ov -- {{mpv}} -wid {{wid}} --loop --no-audio --no-resume-playback --panscan={{1.0}} {{path/to/video.mp4}}`
|
||||
|
||||
- 使用 mpv 全屏播放视频:
|
||||
|
||||
`xwinwrap -b -nf -fs -ov -- {{mpv}} -wid {{wid}} --loop --no-audio --no-resume-playback --panscan={{1.0}} {{path/to/video.mp4}}`
|
||||
|
||||
- 使用 mpv 播放视频,透明度为 80%:
|
||||
|
||||
`xwinwrap -b -nf -ov -o 0.8 -- {{mpv}} -wid {{wid}} --loop --no-audio --no-resume-playback --panscan={{1.0}} {{path/to/video.mp4}}`
|
||||
|
||||
- 在第二个 1600x900 的显示器上使用 mpv 播放视频,X 轴偏移 1920:
|
||||
|
||||
`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