chore: change button size and vlc command
This commit is contained in:
@@ -7,7 +7,7 @@ Type=simple
|
||||
Environment=DISPLAY=:0
|
||||
WorkingDirectory=/opt/akartontv
|
||||
ExecStartPre=/usr/bin/sleep 3
|
||||
ExecStart=/bin/sh -c 'exec /usr/bin/vlc --fullscreen --loop -I dummy --no-video-title --no-qt-fs-controller $(find /opt/akartontv/ \( -name "*.mp4" -o -name "*.mkv" -o -name "*.mov" -o -name "*.webm" \))'
|
||||
ExecStart=/bin/sh -c 'exec /usr/bin/vlc --fullscreen --loop --no-video-title --video-on-top --no-qt-fs-controller --qt-continue=0 $(find /opt/akartontv/ \( -name "*.mp4" -o -name "*.mkv" -o -name "*.mov" -o -name "*.webm" \))'
|
||||
ExecStop=/usr/bin/killall vlc
|
||||
Restart=always
|
||||
Restart=on-failure
|
||||
|
||||
@@ -96,7 +96,7 @@ func drawModeRow(targetMode *int) *fyne.Container {
|
||||
refreshButtons(presModeBtn, videoModeBtn)
|
||||
})
|
||||
presWide := container.NewGridWrap(
|
||||
buttonSize,
|
||||
dButtonSize,
|
||||
presModeBtn,
|
||||
)
|
||||
|
||||
@@ -108,13 +108,12 @@ func drawModeRow(targetMode *int) *fyne.Container {
|
||||
refreshButtons(presModeBtn, videoModeBtn)
|
||||
})
|
||||
videoWide := container.NewGridWrap(
|
||||
buttonSize,
|
||||
dButtonSize,
|
||||
videoModeBtn,
|
||||
)
|
||||
|
||||
modeRow := container.NewHBox(
|
||||
presWide,
|
||||
widget.NewLabel(""),
|
||||
videoWide,
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user