-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This patch extends the themer to support KDE's Konsole as the adapter. The implementation utilizes multiple Konsole profiles, each of which is set with the desired theme, and the DBus integration to iterate over all active Konsole sessions to set it. When used in KDE environment, it's important to let the "no preference" value fallback to "light". That's because [the daemon][1] handling theme synchronization between KDE and GTK toolkits uses a different heuristics to translate the KDE theme to its GTK counterpart. In such case, themer receives two signals, and the table below represents the emitted values: preference | xdg-desktop-portal-kde | xdg-desktop-portal-gtk ------------------------------------------------------------ none | no-preference | no-preference dark | prefers-dark | prefers-dark light | prefers-light | no-preference During development, the signal emitted from the GTK's has been coming after the one generated by KDE, essentially overriding it. [1]: https://invent.kde.org/plasma/kde-gtk-config/-/blob/master/kded/gtkconfig.cpp?ref_type=heads#L209
- Loading branch information
Showing
3 changed files
with
91 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters