Add breeze theme and dolphin

This commit is contained in:
outfoxxed 2023-06-25 20:29:03 -07:00
parent 91339cb16b
commit f0444011cb
Signed by: outfoxxed
GPG key ID: 4C88A185FB89301E
9 changed files with 319 additions and 3 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, #ffffffff, #ff31363b, #fffcfcfc, #80ffffff
disabled_colors=#ff6e7173, #ff2f3338, #ff3e444a, #ff353a3f, #ff181a1c, #ff23272a, #ff656768, #ffffffff, #ff727679, #ff1a1d1f, #ff282c30, #ff111314, #ff282c30, #ff6e7173, #ff1a4665, #ff443051, #ff212427, #ffffffff, #ff31363b, #fffcfcfc, #80ffffff
inactive_colors=#fffcfcfc, #ff31363b, #ff40464c, #ff363b40, #ff191b1d, #ff25292c, #fffcfcfc, #ffffffff, #fffcfcfc, #ff1b1e20, #ff2a2e32, #ff121415, #ff1f485e, #fffcfcfc, #ff1d99f3, #ff9b59b6, #ff232629, #ffffffff, #ff31363b, #fffcfcfc, #80ffffff

52
modules/theme/default.nix Normal file
View file

@ -0,0 +1,52 @@
{ self, config, pkgs, ... }: {
environment.systemPackages = with pkgs; [
qt5ct
breeze-qt5
breeze-gtk
breeze-icons
];
environment.variables = {
"QT_QPA_PLATFORMTHEME" = "qt5ct";
};
home-manager.users.${config.main-user} = {
home = {
file.".icons/default/index.theme".text = ''
[Icon Theme]
Inherits=breeze_cursors
'';
};
xdg.configFile = {
# fixes dolphin background colors
"kdeglobals".source = "${pkgs.breeze-qt5}/share/color-schemes/BreezeDark.colors";
"qt5ct/qt5ct.conf".text = ''
[Appearance]
style=Breeze
# Cantata misbehaves without color overrides. This overrides the breeze colors with the
# exact same colors.
color_scheme_path=${./breeze-dark-colors-override.conf}
custom_palette=true
'';
};
gtk = {
enable = true;
theme = {
package = pkgs.breeze-gtk;
name = "Breeze-Dark";
};
iconTheme = {
package = pkgs.breeze-icons;
name = "breeze-dark";
};
cursorTheme = {
package = pkgs.breeze-gtk;
name = "breeze_cursors";
};
};
};
}