124 lines
4.4 KiB
Nix
Raw Normal View History

2019-09-14 22:12:56 +04:00
{ pkgs, lib, config, ... }:
2021-06-16 05:30:04 +03:00
with config.lib.base16.theme; {
services.dbus.packages =
2021-09-07 11:56:39 +03:00
[ pkgs.systemd iconPackage ];
2021-06-16 05:30:04 +03:00
services.udev.packages = [ pkgs.libmtp pkgs.media-player-info ];
2020-08-07 23:27:49 +04:00
2023-02-11 01:19:24 +03:00
qt.enable = false;
2021-11-17 05:08:57 +03:00
2020-08-07 23:27:49 +04:00
environment.sessionVariables = {
2021-06-16 05:30:04 +03:00
KDEDIRS =
"/run/current-system/sw:/run/current-system/sw/share/kservices5:/run/current-system/sw/share/kservicetypes5:/run/current-system/sw/share/kxmlgui5";
2020-08-07 23:27:49 +04:00
};
2022-12-10 22:34:39 +03:00
home-manager.users.${config.mainuser} = {
2021-11-17 05:08:57 +03:00
xdg.configFile."kdeglobals".text = lib.generators.toGitINI {
2021-06-16 05:30:04 +03:00
"Colors:Button" = {
BackgroundAlternate = base01-hex;
BackgroundNormal = base01-hex;
DecorationFocus = base02-hex;
DecorationHover = base02-hex;
ForegroundActive = base05-hex;
ForegroundInactive = base01-hex;
ForegroundLink = base0D-hex;
ForegroundNegative = base08-hex;
ForegroundNeutral = base09-hex;
ForegroundNormal = base05-hex;
ForegroundPositive = base0B-hex;
ForegroundVisited = base03-hex;
};
"Colors:Complementary" = {
BackgroundAlternate = base01-hex;
BackgroundNormal = base03-hex;
DecorationFocus = base02-hex;
DecorationHover = base02-hex;
ForegroundActive = base09-hex;
ForegroundInactive = base01-hex;
ForegroundLink = base0D-hex;
ForegroundNegative = base08-hex;
ForegroundNeutral = base0A-hex;
ForegroundNormal = base05-hex;
ForegroundPositive = base0B-hex;
ForegroundVisited = base02-hex;
};
"Colors:Selection" = {
BackgroundAlternate = base0D-hex;
BackgroundNormal = base0D-hex;
DecorationFocus = base0D-hex;
DecorationHover = base0D-hex;
ForegroundActive = base05-hex;
ForegroundInactive = base05-hex;
ForegroundLink = base0D-hex;
ForegroundNegative = base08-hex;
ForegroundNeutral = base09-hex;
ForegroundNormal = base05-hex;
ForegroundPositive = base0B-hex;
ForegroundVisited = base02-hex;
};
"Colors:Tooltip" = {
BackgroundAlternate = base01-hex;
BackgroundNormal = base00-hex;
DecorationFocus = base02-hex;
DecorationHover = base02-hex;
ForegroundActive = base02-hex;
ForegroundInactive = base01-hex;
ForegroundLink = base0D-hex;
ForegroundNegative = base08-hex;
ForegroundNeutral = base09-hex;
ForegroundNormal = base05-hex;
ForegroundPositive = base0B-hex;
ForegroundVisited = base03-hex;
};
"Colors:View" = {
BackgroundAlternate = base01-hex;
BackgroundNormal = base00-hex;
DecorationFocus = base02-hex;
DecorationHover = base02-hex;
ForegroundActive = base02-hex;
ForegroundInactive = base01-hex;
ForegroundLink = base0D-hex;
ForegroundNegative = base08-hex;
ForegroundNeutral = base09-hex;
ForegroundNormal = base05-hex;
ForegroundPositive = base0B-hex;
ForegroundVisited = base03-hex;
};
"Colors:Window" = {
BackgroundAlternate = base01-hex;
BackgroundNormal = base00-hex;
DecorationFocus = base02-hex;
DecorationHover = base02-hex;
ForegroundActive = base02-hex;
ForegroundInactive = base01-hex;
ForegroundLink = base0D-hex;
ForegroundNegative = base08-hex;
ForegroundNeutral = base09-hex;
ForegroundNormal = base05-hex;
ForegroundPositive = base0B-hex;
ForegroundVisited = base03-hex;
};
General = {
ColorScheme = "Generated";
Name = "Generated";
2021-09-16 01:03:52 +03:00
fixed = "${fonts.mono.family},${fontSizes.small.str},-1,5,50,0,0,0,0,0";
font = "${fonts.main.family},${fontSizes.small.str},-1,5,50,0,0,0,0,0";
menuFont = "${fonts.main.family},${fontSizes.small.str},-1,5,50,0,0,0,0,0";
2021-06-16 05:30:04 +03:00
shadeSortColumn = true;
smallestReadableFont =
2021-09-16 01:03:52 +03:00
"${fonts.main.family},${fontSizes.minimal.str},-1,5,57,0,0,0,0,0,Medium";
toolBarFont = "${fonts.main.family},${fontSizes.small.str},-1,5,50,0,0,0,0,0";
2021-06-16 05:30:04 +03:00
};
KDE = {
DoubleClickInterval = 400;
ShowDeleteCommand = true;
SingleClick = false;
StartDragDist = 4;
StartDragTime = 500;
WheelScrollLines = 3;
contrast = 4;
widgetStyle = "Breeze";
};
2021-09-16 01:03:52 +03:00
Icons = { Theme = "${fonts.icon.family}"; };
2020-08-11 02:38:02 +04:00
};
2019-09-14 22:12:56 +04:00
};
}