Skip to content

Theme Module

Sam edited this page Feb 24, 2025 · 1 revision

The theme module displays your GTK themes, by reading them from your configuration files.

Using

Insert into the modules array.

Configuration

  • title -> (String) The module title.
  • format -> (String) The format used to display the module. Check below to see available placeholders.
  • title_color -> (Optional/String) Override the title color to be used.
  • title_bold -> (Optional/Bool) Make the title bold.
  • title_italic -> (Optional/Bool) Make the title italic.
  • separator -> (Optional/Char) Override the separator to be used.
format placeholders;
  • {gtk2} -> The GTK2 set theme.
  • {gtk3} -> The GTK3 set theme.
  • {gtk4} -> The GTK4 set theme.
Default Configuration
[theme]
title = "Theme"
format = "Gtk3: {gtk3}  Gtk4: {gtk4}"

Example

modules = [
    "theme"
]

[theme]
title = "Theme"
format = "{gtk3}"