feat: setup pop-gtk-theme

This commit is contained in:
Felix Schröter 2020-03-12 15:15:07 +01:00 committed by Felix Schroeter
parent f77321fb26
commit 387891a388
5 changed files with 12 additions and 3 deletions

View file

@ -4,6 +4,7 @@
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
gnome3.dconf-editor gnome3.dconf-editor
gnome3.gnome-tweaks gnome3.gnome-tweaks
gnome3.gnome-shell-extensions # required for user-theme
gnomeExtensions.dash-to-panel gnomeExtensions.dash-to-panel
gnomeExtensions.appindicator gnomeExtensions.appindicator
]; ];

View file

@ -4,6 +4,7 @@
dconf.settings = { dconf.settings = {
"org/gnome/shell" = { "org/gnome/shell" = {
enabled-extensions = [ enabled-extensions = [
"user-theme@gnome-shell-extensions.gcampax.github.com"
"dash-to-panel@jderose9.github.com" "dash-to-panel@jderose9.github.com"
"appindicatorsupport@rgcjonas.gmail.com" "appindicatorsupport@rgcjonas.gmail.com"
]; ];
@ -13,9 +14,15 @@
"code.desktop" "code.desktop"
]; ];
}; };
"org/gnome/shell/extensions/user-theme" = {
name = "Pop-dark";
};
"org/gnome/shell/extensions/dash-to-panel" = { "org/gnome/shell/extensions/dash-to-panel" = {
appicon-padding = 4; appicon-padding = 4;
panel-size = 36; panel-size = 36;
}; };
"/org/gnome/desktop/sound/theme-name" = {
theme-name = "Pop";
}
}; };
} }

View file

@ -2,7 +2,8 @@
{ {
gtk.enable = true; gtk.enable = true;
gtk.theme.name = "Adwaita-dark"; gtk.theme.name = "Pop-dark";
gtk.theme.package = pkgs.pop-gtk-theme;
gtk.gtk3.extraConfig = { gtk.gtk3.extraConfig = {
gtk-application-prefer-dark-theme = true; gtk-application-prefer-dark-theme = true;
}; };

View file

@ -6,7 +6,7 @@ with pkgs;
./common/sh.nix ./common/sh.nix
./common/direnv.nix ./common/direnv.nix
./common/mimeapps.nix ./common/mimeapps.nix
./common/gui.nix ./common/gtk.nix
./common/gnome.nix ./common/gnome.nix
./common/neovim.nix ./common/neovim.nix
./common/emacs.nix ./common/emacs.nix

View file

@ -5,7 +5,7 @@ with pkgs;
imports = [ imports = [
./common/sh.nix ./common/sh.nix
./common/mimeapps.nix ./common/mimeapps.nix
./common/gui.nix ./common/gtk.nix
./common/gnome.nix ./common/gnome.nix
./common/neovim.nix ./common/neovim.nix
./common/emacs.nix ./common/emacs.nix