Update kde packages to kde6

This commit is contained in:
outfoxxed 2024-03-05 01:16:37 -08:00
parent cbb3278b8f
commit 2de8a9e979
Signed by: outfoxxed
GPG key ID: 4C88A185FB89301E
8 changed files with 41 additions and 256 deletions

View file

@ -0,0 +1,4 @@
[ColorScheme]
active_colors=#fffcfcfc, #ff31363b, #ff40464c, #ff363b40, #ff191b1d, #ff25292c, #fffcfcfc, #ffffffff, #fffcfcfc, #ff1b1e20, #ff2a2e32, #ff121415, #ff3daee9, #fffcfcfc, #ff1d99f3, #ff9b59b6, #ff232629, #ff000000, #ff31363b, #fffcfcfc, #ffa1a9b1, #ff3daee9
disabled_colors=#ff6e7173, #ff2f3338, #ff3e444a, #ff353a3f, #ff181a1c, #ff23272a, #ff656768, #ffffffff, #ff727679, #ff1a1d1f, #ff282c30, #ff111314, #ff282c30, #ff6e7173, #ff1a4665, #ff443051, #ff212427, #ff000000, #ff31363b, #fffcfcfc, #ff464b4f, #ff282c30
inactive_colors=#fffcfcfc, #ff31363b, #ff40464c, #ff363b40, #ff191b1d, #ff25292c, #fffcfcfc, #ffffffff, #fffcfcfc, #ff1b1e20, #ff2a2e32, #ff121415, #ff1f485e, #fffcfcfc, #ff1d99f3, #ff9b59b6, #ff232629, #ff000000, #ff31363b, #fffcfcfc, #ffa1a9b1, #ff1f485e

View file

@ -1,21 +1,16 @@
{ self, lib, config, pkgs, ... }: {
environment.systemPackages = with pkgs; [
qt5ct
breeze-qt5
breeze-gtk
breeze-icons
qt6.qtwayland
kdePackages.breeze
kdePackages.breeze-icons
qt6.qtsvg # needed to load breeze icons
kdePackages.qqc2-desktop-style
];
environment.variables = let
qmlPackages = with pkgs; [
plasma5Packages.qqc2-desktop-style
plasma5Packages.kirigami2
];
qtVersion = pkgs.qt515.qtbase.version;
in {
"QT_QPA_PLATFORMTHEME" = "qt5ct";
"QML2_IMPORT_PATH" = "${lib.concatStringsSep ":" (builtins.map (p: "${p}/lib/qt-${qtVersion}/qml") qmlPackages)}";
qt = {
enable = true;
platformTheme = "qt5ct";
};
home-manager.users.${config.main-user} = {
@ -24,11 +19,8 @@
Inherits=breeze_cursors
'';
xdg.configFile = {
# fixes dolphin background colors
"kdeglobals".source = "${pkgs.breeze-qt5}/share/color-schemes/BreezeDark.colors";
"qt5ct/qt5ct.conf".text = ''
xdg.configFile = let
qtctConf = colors: ''
[Appearance]
style=Breeze
icon_theme=breeze-dark
@ -36,7 +28,7 @@
# Cantata misbehaves without color overrides. This overrides the breeze colors with the
# exact same colors.
color_scheme_path=${./breeze-dark-colors-override.conf}
color_scheme_path=${colors}
custom_palette=true
[Interface]
@ -52,22 +44,31 @@
underline_shortcut=1
wheel_scroll_lines=3
'';
in {
# fixes dolphin background colors
"kdeglobals".source = "${pkgs.kdePackages.breeze}/share/color-schemes/BreezeDark.colors";
"qt5ct/qt5ct.conf".text = qtctConf ./colors-qt5ct.conf;
"qt6ct/qt6ct.conf".text = qtctConf ./colors-qt6ct.conf;
};
gtk = {
enable = true;
theme = {
package = pkgs.breeze-gtk;
package = pkgs.kdePackages.breeze-gtk;
name = "Breeze-Dark";
};
iconTheme = {
package = pkgs.breeze-icons;
package = pkgs.kdePackages.breeze-icons;
name = "breeze-dark";
};
cursorTheme = {
package = pkgs.breeze-gtk;
package = pkgs.kdePackages.breeze-gtk;
name = "breeze_cursors";
};
gtk3.extraConfig.gtk-xft-rgba = "rgb";
gtk4.extraConfig.gtk-xft-rgba = "rgb";
};
};
}