This commit is contained in:
Nathan McCarty 2023-06-20 03:34:38 -04:00
parent f8733d3498
commit 7bc668b087
Signed by: thatonelutenist
SSH Key Fingerprint: SHA256:hwQEcmak9E6sdU9bXc98RHw/Xd1AhpB5HZT7ZSVJkRM
1 changed files with 29 additions and 0 deletions

View File

@ -5,6 +5,13 @@ let
targets = config.nathan.config.desktop.targets; targets = config.nathan.config.desktop.targets;
shortcuts = inputs.self.packages.${pkgs.system}.shortcuts; shortcuts = inputs.self.packages.${pkgs.system}.shortcuts;
in lib.mkMerge [ in lib.mkMerge [
# Hyprland specific configuration
(lib.mkIf hyprland {
wayland.windowManager.hyprland.extraConfig = ''
env = QT_QPA_PLATFORMTHEME,qtct
env = QT_STYLE_OVERRIDE,kvantum
'';
})
# General configuration # General configuration
(lib.mkIf hyprland { (lib.mkIf hyprland {
home.packages = with pkgs; [ home.packages = with pkgs; [
@ -25,6 +32,12 @@ in lib.mkMerge [
inputs.self.packages.${pkgs.system}.swayimg inputs.self.packages.${pkgs.system}.swayimg
# For fancy x11 scaling # For fancy x11 scaling
sommelier sommelier
# Themes
gtk-engine-murrine
libsForQt5.qtstyleplugin-kvantum
pkgs.libsForQt5.qt5ct
materia-theme
materia-kde-theme
]; ];
# Bluetooth applet # Bluetooth applet
@ -49,5 +62,21 @@ in lib.mkMerge [
"application/pdf" = [ "org.gnome.Evince.desktop" ]; "application/pdf" = [ "org.gnome.Evince.desktop" ];
"text/html" = [ "firefox.desktop" ]; "text/html" = [ "firefox.desktop" ];
}; };
# Theme gtk
gtk = {
enable = true;
font.name = "Iosevka Sans Quasi";
theme = {
name = "Materia-dark";
package = pkgs.materia-theme;
};
};
# theme qt
home.sessionVariables = {
QT_QPA_PLATFORMTHEME = "qtct";
QT_STYLE_OVERRIDE = "kvantum";
};
}) })
] ]