use kde to manage qt style
This commit is contained in:
@@ -2,6 +2,7 @@
|
|||||||
config,
|
config,
|
||||||
lib,
|
lib,
|
||||||
pkgs,
|
pkgs,
|
||||||
|
impure,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
@@ -81,20 +82,22 @@ in
|
|||||||
#QT
|
#QT
|
||||||
qt = {
|
qt = {
|
||||||
enable = true;
|
enable = true;
|
||||||
style.package = with pkgs; [
|
platformTheme.name = "kde";
|
||||||
|
style = {
|
||||||
|
package = with pkgs; [
|
||||||
darkly-qt5
|
darkly-qt5
|
||||||
darkly-qt6
|
darkly-qt6
|
||||||
];
|
];
|
||||||
platformTheme.name = "qtct";
|
name = "Darkly";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
xdg.configFile = {
|
xdg.configFile = {
|
||||||
"qt5ct/qt5ct.conf".source = pkgs.replaceVars ./qtct/qt5ct.conf {
|
kdeglobals.source = impure.mkImpureLink ./kdeglobals;
|
||||||
darker = pkgs.libsForQt5.qt5ct + /share/qt5ct/colors/darker.conf;
|
plasmarc.text = ''
|
||||||
};
|
[Theme]
|
||||||
"qt6ct/qt6ct.conf".source = pkgs.replaceVars ./qtct/qt6ct.conf {
|
name=darkly
|
||||||
darker = pkgs.qt6Packages.qt6ct + /share/qt6ct/colors/darker.conf;
|
'';
|
||||||
};
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -0,0 +1,123 @@
|
|||||||
|
[ColorEffects:Disabled]
|
||||||
|
ChangeSelectionColor=
|
||||||
|
Color=36,36,36
|
||||||
|
ColorAmount=0.5
|
||||||
|
ColorEffect=3
|
||||||
|
ContrastAmount=0.5
|
||||||
|
ContrastEffect=0
|
||||||
|
Enable=
|
||||||
|
IntensityAmount=0
|
||||||
|
IntensityEffect=0
|
||||||
|
|
||||||
|
[ColorEffects:Inactive]
|
||||||
|
ChangeSelectionColor=true
|
||||||
|
Color=51,51,51
|
||||||
|
ColorAmount=0.4
|
||||||
|
ColorEffect=3
|
||||||
|
ContrastAmount=0.4
|
||||||
|
ContrastEffect=0
|
||||||
|
Enable=true
|
||||||
|
IntensityAmount=-0.2
|
||||||
|
IntensityEffect=0
|
||||||
|
|
||||||
|
[Colors:Button]
|
||||||
|
BackgroundAlternate=77,77,77
|
||||||
|
BackgroundNormal=50,50,50
|
||||||
|
DecorationFocus=52,120,218
|
||||||
|
DecorationHover=0,161,236
|
||||||
|
ForegroundActive=61,174,233
|
||||||
|
ForegroundInactive=199,199,199
|
||||||
|
ForegroundLink=0,100,255
|
||||||
|
ForegroundNegative=218,68,83
|
||||||
|
ForegroundNeutral=246,116,0
|
||||||
|
ForegroundNormal=241,241,241
|
||||||
|
ForegroundPositive=36,173,89
|
||||||
|
ForegroundVisited=115,115,158
|
||||||
|
|
||||||
|
[Colors:Complementary]
|
||||||
|
BackgroundAlternate=59,64,69
|
||||||
|
BackgroundNormal=49,54,59
|
||||||
|
DecorationFocus=30,146,255
|
||||||
|
DecorationHover=61,174,230
|
||||||
|
ForegroundActive=246,116,0
|
||||||
|
ForegroundInactive=175,176,179
|
||||||
|
ForegroundLink=61,174,230
|
||||||
|
ForegroundNegative=237,21,21
|
||||||
|
ForegroundNeutral=201,206,59
|
||||||
|
ForegroundNormal=239,240,241
|
||||||
|
ForegroundPositive=17,209,22
|
||||||
|
ForegroundVisited=61,174,230
|
||||||
|
|
||||||
|
[Colors:Selection]
|
||||||
|
BackgroundAlternate=29,153,243
|
||||||
|
BackgroundNormal=27,145,213
|
||||||
|
DecorationFocus=52,120,218
|
||||||
|
DecorationHover=0,161,236
|
||||||
|
ForegroundActive=252,252,252
|
||||||
|
ForegroundInactive=241,241,241
|
||||||
|
ForegroundLink=0,100,255
|
||||||
|
ForegroundNegative=218,68,83
|
||||||
|
ForegroundNeutral=246,116,0
|
||||||
|
ForegroundNormal=241,241,241
|
||||||
|
ForegroundPositive=36,173,89
|
||||||
|
ForegroundVisited=115,115,158
|
||||||
|
|
||||||
|
[Colors:Tooltip]
|
||||||
|
BackgroundAlternate=77,77,77
|
||||||
|
BackgroundNormal=59,59,59
|
||||||
|
DecorationFocus=52,120,218
|
||||||
|
DecorationHover=0,161,236
|
||||||
|
ForegroundActive=61,174,233
|
||||||
|
ForegroundInactive=199,199,199
|
||||||
|
ForegroundLink=0,100,255
|
||||||
|
ForegroundNegative=218,68,83
|
||||||
|
ForegroundNeutral=246,116,0
|
||||||
|
ForegroundNormal=239,240,241
|
||||||
|
ForegroundPositive=36,173,89
|
||||||
|
ForegroundVisited=115,115,158
|
||||||
|
|
||||||
|
[Colors:View]
|
||||||
|
BackgroundAlternate=54,54,54
|
||||||
|
BackgroundNormal=44,44,44
|
||||||
|
DecorationFocus=52,120,218
|
||||||
|
DecorationHover=0,161,236
|
||||||
|
ForegroundActive=61,174,233
|
||||||
|
ForegroundInactive=199,199,199
|
||||||
|
ForegroundLink=0,100,255
|
||||||
|
ForegroundNegative=218,68,83
|
||||||
|
ForegroundNeutral=246,116,0
|
||||||
|
ForegroundNormal=241,241,241
|
||||||
|
ForegroundPositive=36,173,89
|
||||||
|
ForegroundVisited=115,115,158
|
||||||
|
|
||||||
|
[Colors:Window]
|
||||||
|
BackgroundAlternate=77,77,77
|
||||||
|
BackgroundNormal=34,34,34
|
||||||
|
DecorationFocus=52,120,218
|
||||||
|
DecorationHover=0,161,236
|
||||||
|
ForegroundActive=61,174,233
|
||||||
|
ForegroundInactive=199,199,199
|
||||||
|
ForegroundLink=0,100,255
|
||||||
|
ForegroundNegative=218,68,83
|
||||||
|
ForegroundNeutral=246,116,0
|
||||||
|
ForegroundNormal=239,240,241
|
||||||
|
ForegroundPositive=36,173,89
|
||||||
|
ForegroundVisited=115,115,158
|
||||||
|
|
||||||
|
[General]
|
||||||
|
ColorScheme=Darkly
|
||||||
|
|
||||||
|
[Icons]
|
||||||
|
Theme=Papirus-Dark
|
||||||
|
|
||||||
|
[KDE]
|
||||||
|
contrast=0
|
||||||
|
frameContrast=0.2
|
||||||
|
|
||||||
|
[WM]
|
||||||
|
activeBackground=34,34,34
|
||||||
|
activeBlend=255,255,255
|
||||||
|
activeForeground=204,204,204
|
||||||
|
inactiveBackground=44,44,44
|
||||||
|
inactiveBlend=44,44,44
|
||||||
|
inactiveForeground=144,144,144
|
||||||
Reference in New Issue
Block a user