配置
配置文件:'~/.config/wayvid/config.yaml'
Basic Example
源:
类型: 文件
路径: ~/视频/wallpaper.mp4
layout: fill
音量: 0
循环: true
hwdec: true
源类型
File
源:
类型: 文件
路径: /路径/到/video.mp4
目录(播放列表)
源:
类型: 目录
路径: ~/视频/壁纸/
洗牌: true
间隔: 3600 # Change every hour
Workshop
源:
类型: 创意工坊
id: 1234567890
Layout Modes
- fill - Cover screen, crop if needed (default)
- contain - Fit inside, may letterbox
- stretch - Fill exactly, may distort
- centre - Original size, centered
layout: fill
Per-Output Config
Different video per monitor:
源:
类型: 文件
路径: ~/Videos/default.mp4
per_output:
DP-1:
源:
类型: 文件
路径: ~/视频/left.mp4
HDMI-A-1 接口:
源:
类型: 文件
路径: ~/视频/right.mp4
All Options
# 视频源
source:
类型: file|directory|workshop
路径: string
id: number # For workshop
# Playback
layout: fill|contain|stretch|centre
音量: 0-100
循环: true|false
start_time: 0.0
playback_rate: 1.0
mute: false
# Performance
hwdec: true
# HDR
hdr_mode: auto|force|disable
tone_mapping: 自动
# Power
power:
battery_threshold: 20
pause_on_battery: false
重新加载配置
wayvid-ctl reload-config