feat(gui): switch to papirus icon theme

This commit is contained in:
514fpv 2024-01-28 10:38:29 +08:00
parent 7ec67295f4
commit 340d178111
Signed by: koishi
SSH key fingerprint: SHA256:axz0uIzzY+5W19i7QOUuiw5LSqhKfCBKPf3L4xFRxLw
3 changed files with 12 additions and 12 deletions

View file

@ -5,7 +5,7 @@
cfg = config.global.gpu; cfg = config.global.gpu;
in mkIf (cfg.enable && cfg.session) { in mkIf (cfg.enable && cfg.session) {
programs.regreet = { programs.regreet = {
enable = true; enable = mkDefault true;
cageArgs = [ "-s" "-d" "-m" "last" ]; cageArgs = [ "-s" "-d" "-m" "last" ];
settings = { settings = {
background.path = ../../share/54345906_p0.jpg; background.path = ../../share/54345906_p0.jpg;
@ -13,7 +13,7 @@ in mkIf (cfg.enable && cfg.session) {
GTK = { GTK = {
application_prefer_dark_theme = true; application_prefer_dark_theme = true;
cursor_theme_name = "Bibata-Modern-Classic"; cursor_theme_name = "Bibata-Modern-Classic";
icon_theme_name = "WhiteSur-dark"; icon_theme_name = "Papirus-Dark";
theme_name = "WhiteSur-Dark"; theme_name = "WhiteSur-Dark";
}; };
}; };

View file

@ -4,26 +4,26 @@
, ... }: with lib; mkIf config.passthrough.gui { , ... }: with lib; mkIf config.passthrough.gui {
# cursor theme # cursor theme
home.pointerCursor = { home.pointerCursor = {
package = pkgs.bibata-cursors; package = mkDefault pkgs.bibata-cursors;
name = "Bibata-Modern-Classic"; name = mkDefault "Bibata-Modern-Classic";
size = 24; size = 24;
}; };
# gtk theme # gtk theme
gtk.theme = { gtk.theme = {
package = pkgs.whitesur-gtk-theme; package = mkDefault pkgs.whitesur-gtk-theme;
name = "WhiteSur-Dark"; name = mkDefault "WhiteSur-Dark";
}; };
# gtk icons # gtk icons
gtk.iconTheme = { gtk.iconTheme = {
package = pkgs.whitesur-icon-theme; package = mkDefault pkgs.papirus-icon-theme;
name = "WhiteSur-dark"; name = mkDefault "Papirus-Dark";
}; };
# unify qt theme # unify qt theme
qt.platformTheme = "gtk"; qt.platformTheme = mkDefault "gtk";
gtk.enable = true; gtk.enable = mkDefault true;
qt.enable = true; qt.enable = mkDefault true;
} }

View file

@ -14,7 +14,7 @@ in {
# themes and icons # themes and icons
environment.systemPackages = with pkgs; mkIf gui [ environment.systemPackages = with pkgs; mkIf gui [
whitesur-gtk-theme whitesur-icon-theme whitesur-gtk-theme whitesur-icon-theme
bibata-cursors papirus-icon-theme bibata-cursors
]; ];
fonts.enableDefaultPackages = mkIf gui true; fonts.enableDefaultPackages = mkIf gui true;