Next: (heks-linux mako), Previous: (heks-linux gtk), Up: API
Renders ~/.config/lambdock/settings.scm and styles.css, the two files read by [[https://codeberg.org/jjba23/lambdock][lambdock]], the Wayland-native GTK4 dock used as the macOS-style application dock.
Unlike the other modules, lambdock’s configuration format is
itself Scheme: a sequence of top-level (define …) forms.
The module therefore keeps that textually and pretty-prints it with
pretty-print rather than serializing an association list - this
is the one place where the generated artefact is code, not data.
The dock theme is derived from the palette registry, and the dock item
list is built from lambdock’s own preset-launchers-for
vocabulary, so adding an icon means adding a symbol to dock-items
below.
lambdock-styles is a parameter holding free-form CSS appended to
the generated styles.css; it defaults to the empty string and is
the intended hook for per-machine look-and-feel tweaks.
Default value:
"(define dock-auto-hide? #t)\n\n(define dock-show-when-clear? #t)\n\n(define dock-position 'bottom)\n\n(define dock-icon-size 48)\n\n(define dock-theme 'vanilla)\n\n(define dock-monitor 'all)\n\n(define dock-exclude-apps '(\"warp-taskbar\"))\n\n(define dock-enable-repl? #t)\n\n(define dock-hover-animate? #t)\n\n(define dock-track-windows? #t)\n\n(define dock-items\n (append\n (list (app-item\n #:name\n \"WezTerm\"\n #:exec\n \"wezterm\"\n #:icon\n \"org.gnome.Terminal\"))\n (preset-launchers-for\n 'google-chrome\n 'spotify-flatpak\n 'nautilus\n 'nyxt-flatpak\n 'gnome-calendar\n 'gnome-calculator\n 'zapzap-flatpak)\n (list (separator-item))\n (preset-launchers-for\n 'emacs\n 'intellij\n 'bruno-flatpak)\n (list (separator-item))\n (preset-launchers-for\n 'btop\n 'pavucontrol\n 'onepassword)\n (list (separator-item))\n (preset-launchers-for 'cpu 'ram 'cpu-temp)))\n\n"
Default value:
"/root/.config/lambdock"
Default value:
"settings.scm"
Default value:
""
Default value:
"styles.css"
Write settings.scm and styles.css to
lambdock-config-dir.
Local overrides are read from
$XDG_CONFIG_HOME/heks-linux/lambdock-settings.scm first, which is
how you replace the dock item list or point lambdock-styles at
your own CSS.
Next: (heks-linux mako), Previous: (heks-linux gtk), Up: API