Enhance GTK theme configuration and taskbar setup in cloud-init scripts</message>

<message>Update the cloud-init scripts to improve GTK theme settings by enforcing dark mode through gsettings and preserving the icon theme for a cohesive user experience. Additionally, enhance the first-boot script to install a Chromium kiosk launcher icon on the desktop and in the application menu, along with a five-tap close functionality for Chromium. These changes streamline the user interface and ensure a consistent dark theme across applications and the taskbar.
This commit is contained in:
nearxos
2026-02-23 15:07:31 +02:00
parent f42700848a
commit 2d6e5aa009
11 changed files with 251 additions and 38 deletions

View File

@@ -1,21 +1,20 @@
# wf-panel-pi custom theme example
# wf-panel-pi minimal dark taskbar, touch-friendly
# Copy to ~/.config/wf-panel-pi/wf-panel-pi.ini (user pi)
# Optional: copy panel-theme.css to ~/.config/wf-panel-pi/panel-theme.css
# and ensure css_path below points to it. Restart panel: pkill wf-panel-pi
# Set css_path to panel-theme.css. Restart panel: pkill wf-panel-pi
# Icon theme (start-here) is set in gtk-3.0/settings.ini (PiXtrix) so custom icon from first-boot is used.
[panel]
# Custom CSS (use absolute path; replace /home/pi with actual $PI_HOME if different)
css_path = /home/pi/.config/wf-panel-pi/panel-theme.css
# Layout
widgets_left = smenu spacing0 spacing4 launchers spacing8 window-list
# Left: start menu (uses start-here from PiXtrix), launchers, window list
widgets_left = smenu spacing0 spacing2 launchers spacing4 window-list
widgets_center = none
widgets_right = tray power ejecter updater spacing2 connect spacing2 bluetooth spacing2 netman spacing2 volumepulse spacing2 clock spacing2 batt spacing2 squeek
# Size and position
icon_size = 28
minimal_height = 28
# Right: tray, network, volume, clock, power (minimal set, touch-friendly)
widgets_right = tray spacing2 netman spacing2 volumepulse spacing2 clock spacing2 power
# Touch-friendly size (32px min target)
icon_size = 32
minimal_height = 36
position = top
# Dark background (ARGB)
background_color = #2D2D2DFF
# Optional: autohide
# Match Adwaita-dark window bg (#242424) so taskbar fits dark theme
background_color = #242424FF
autohide = false
autohide_duration = 300