kde: add decorationTheme option (#2168)
Link: https://github.com/nix-community/stylix/pull/2168 Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
This commit is contained in:
parent
d60d37e02f
commit
aad90ca763
1 changed files with 15 additions and 0 deletions
|
|
@ -176,6 +176,7 @@ let
|
|||
mergeWithImage
|
||||
{
|
||||
kwinrc."org.kde.kdecoration2".library = cfg.decorations;
|
||||
kwinrc."org.kde.kdecoration2".theme = cfg.decorationTheme;
|
||||
plasmarc.Theme.name = cfg.applicationStyle;
|
||||
|
||||
kdeglobals = {
|
||||
|
|
@ -355,6 +356,20 @@ in
|
|||
imperatively applying the window decoration via the System Settings app.
|
||||
'';
|
||||
};
|
||||
decorationTheme = lib.mkOption {
|
||||
type = lib.types.str;
|
||||
default = "";
|
||||
description = ''
|
||||
The theme name for the window decoration.
|
||||
|
||||
You probably need to set this if you are targeting a custom theme (i.e.
|
||||
installed manually or from the "Get New..." menu).
|
||||
|
||||
See the `theme` key in the `org.kde.kdecoration2` section of
|
||||
`$HOME/.config/kwinrc` after imperatively applying the window decoration
|
||||
via the System Settings app.
|
||||
'';
|
||||
};
|
||||
widgetStyle = lib.mkOption {
|
||||
type = lib.types.str;
|
||||
default = "Breeze";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue