chore: change button size and vlc command
This commit is contained in:
@@ -7,7 +7,7 @@ Type=simple
|
|||||||
Environment=DISPLAY=:0
|
Environment=DISPLAY=:0
|
||||||
WorkingDirectory=/opt/akartontv
|
WorkingDirectory=/opt/akartontv
|
||||||
ExecStartPre=/usr/bin/sleep 3
|
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
|
ExecStop=/usr/bin/killall vlc
|
||||||
Restart=always
|
Restart=always
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
|
|||||||
@@ -96,7 +96,7 @@ func drawModeRow(targetMode *int) *fyne.Container {
|
|||||||
refreshButtons(presModeBtn, videoModeBtn)
|
refreshButtons(presModeBtn, videoModeBtn)
|
||||||
})
|
})
|
||||||
presWide := container.NewGridWrap(
|
presWide := container.NewGridWrap(
|
||||||
buttonSize,
|
dButtonSize,
|
||||||
presModeBtn,
|
presModeBtn,
|
||||||
)
|
)
|
||||||
|
|
||||||
@@ -108,13 +108,12 @@ func drawModeRow(targetMode *int) *fyne.Container {
|
|||||||
refreshButtons(presModeBtn, videoModeBtn)
|
refreshButtons(presModeBtn, videoModeBtn)
|
||||||
})
|
})
|
||||||
videoWide := container.NewGridWrap(
|
videoWide := container.NewGridWrap(
|
||||||
buttonSize,
|
dButtonSize,
|
||||||
videoModeBtn,
|
videoModeBtn,
|
||||||
)
|
)
|
||||||
|
|
||||||
modeRow := container.NewHBox(
|
modeRow := container.NewHBox(
|
||||||
presWide,
|
presWide,
|
||||||
widget.NewLabel(""),
|
|
||||||
videoWide,
|
videoWide,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user