Enhance first-boot script to support dynamic dark theme selection and taskbar configuration</message>
<message>Update the first-boot.sh script to dynamically select a dark theme based on the availability of PiXnoir or Adwaita-dark. Implement functionality to deploy a dark-themed taskbar configuration for wf-panel-pi, ensuring a cohesive user interface. Additionally, improve logging for theme settings and taskbar installations, enhancing the overall user experience during the first boot process.
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
# Revision: 2
|
||||
# Start Chromium in app mode. Optional env vars:
|
||||
# CHROMIUM_APP_URL - URL to open (default: http://127.0.0.1:8080)
|
||||
# CHROMIUM_MODE - "fullscreen" or "kiosk" (default: fullscreen)
|
||||
# CHROMIUM_MODE - "kiosk" (default, fills whole screen) or "fullscreen"
|
||||
#
|
||||
# Touch long-press → right-click: In Chromium on Wayland, long-press often does *not*
|
||||
# open the context menu (Chromium handles touch itself). Elsewhere (e.g. desktop) it may
|
||||
@@ -26,8 +26,8 @@ done
|
||||
#CHROMIUM_APP_URL="${CHROMIUM_APP_URL:-http://127.0.0.1:8080}"
|
||||
CHROMIUM_APP_URL="${CHROMIUM_APP_URL:-https://tototheo.com}"
|
||||
|
||||
# Mode: "fullscreen" or "kiosk"
|
||||
CHROMIUM_MODE="${CHROMIUM_MODE:-fullscreen}"
|
||||
# Mode: "kiosk" (fills whole screen, no taskbar gap) or "fullscreen"
|
||||
CHROMIUM_MODE="${CHROMIUM_MODE:-kiosk}"
|
||||
|
||||
CHROMIUM_OPTS="--noerrdialogs --disable-infobars --disable-session-crashed-bubble --disable-restore-session-state --no-first-run --password-store=basic --use-mock-keychain --ozone-platform=wayland --enable-features=WaylandWindowDecorations --disable-features=UseChromeOSDirectVideoDecoder --app=${CHROMIUM_APP_URL}"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user