Skip to main content

Module kde

Module kde 

Source
Expand description

KDE theme reader (the kde feature, Linux): maps the kdeglobals INI files to a Theme.

§Sources

The files the reader reads that the user’s settings write, each a path in the user’s config directory ($XDG_CONFIG_HOME, else ~/.config); the watcher observes each of them:

  • kdeglobals: the colours, fonts, icon theme and accessibility flags.
  • kdedefaults/kdeglobals: the defaults Plasma keeps beneath the user’s file, read under it as KConfig cascades them.
  • org.freedesktop.appearance accent-color: the portal’s accent colour, with the portal feature, which lays it over the kdeglobals theme’s accent, selection and focus-ring colours where the portal gives one: xdg-desktop-portal-kde gives the application palette’s highlight colour (src/settings.cpp:279-283 at v6.7.5), which the colour scheme in kdeglobals sets.

§Sources not watched

  • $XDG_CONFIG_DIRS/kdeglobals (/etc/xdg/kdeglobals): the system’s files, which the distribution or an administrator writes, not the user’s settings.
  • The icon theme’s index.theme: its sizes, which the icon theme’s package writes.