Next: , Previous: , Up: API  


1.8 (heks-linux gtk)

1.8.1 Parameters

Parameter: gtk-dconf-script-dir

Default value:

"/root/.local/bin"
Parameter: gtk-dconf-script-filename

Default value:

"write-gtk-dconf-settings"
Parameter: gtk3-config-dir

Default value:

"/root/.config/gtk-3.0"
Parameter: gtk3-config-filename

Default value:

"settings.ini"
Parameter: gtk4-config-dir

Default value:

"/root/.config/gtk-4.0"
Parameter: gtk4-config-filename

Default value:

"settings.ini"

1.8.2 Procedures

Procedure: gtk-dconf-settings KEY: #:palette #:sans-font #:mono-font

Return the GTK-related dconf settings as a two-level tree. Covers the window button layout, the key theme, the cursor and icon themes and the dark-theme preference; palette, sans-font and mono-font supply the values.

Procedure: gtk3-config KEY: #:palette #:sans-font

Return the GTK 3 settings.ini as a list of key/value pairs. palette supplies the cursor, theme and icon names plus the decoration layout; sans-font is the interface font. The comments GTK ships next to its own keys are reproduced alongside them.

Procedure: gtk4-config KEY: #:palette #:sans-font

Return the GTK 4 settings.ini as a list of key/value pairs. The same shape and the same palette- and font-derived values as gtk3-config.

Procedure: install-gtk-dconf-config

Write the GTK dconf writer script to gtk-dconf-script-dir with mode #o755. Local overrides are read from $XDG_CONFIG_HOME/heks-linux/gtk-settings.scm first.

Procedure: install-gtk3-config

Write GTK 3 settings.ini to gtk3-config-dir. Local overrides are read from $XDG_CONFIG_HOME/heks-linux/gtk-settings.scm first.

Procedure: install-gtk4-config

Write GTK 4 settings.ini to gtk4-config-dir. Local overrides are read from $XDG_CONFIG_HOME/heks-linux/gtk-settings.scm first. The GTK dconf writer script is refreshed in the same call, because the two are always installed together.


Next: (heks-linux lambdock), Previous: (heks-linux git), Up: API