File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -3512,7 +3512,7 @@ function configure_shortcuts() {
35123512 MENU_OPTIONS+=(
35133513 " 2" " Disable Browser Autostart"
35143514 )
3515- elif ! is_wayland_env && [ " $WEBBROWSER " != " unknown" ] && [ " $PHOTOBOOTH_FOUND " = true ]; then
3515+ elif [ -d " /etc/xdg/autostart " ] && [ " $WEBBROWSER " != " unknown" ] && [ " $PHOTOBOOTH_FOUND " = true ]; then
35163516 MENU_OPTIONS+=(
35173517 " 2" " Enable Autostart in Kiosk Mode ($WEBBROWSER )"
35183518 )
@@ -3544,7 +3544,7 @@ function configure_shortcuts() {
35443544 else
35453545 confirm " Autostart Disabled" " Failed to disable browser autostart in kiosk mode!"
35463546 fi
3547- elif ! is_wayland_env ; then
3547+ elif [ -d " /etc/xdg/autostart " ] ; then
35483548 if browser_autostart; then
35493549 confirm " Autostart Enabled" " Browser autostart in kiosk mode has been enabled."
35503550 else
You can’t perform that action at this time.
0 commit comments