Still GTK looks
This commit is contained in:
+38
-20
@@ -985,10 +985,47 @@ This is top file of this level which contains just an import statement for all r
|
||||
./login-tuigreeter.nix
|
||||
#./login-lightdm.nix
|
||||
./fonts.nix
|
||||
./theme.nix
|
||||
];
|
||||
}
|
||||
#+END_SRC
|
||||
|
||||
** =generated/system/core/theme.nix=
|
||||
I use the [[https://catppuccin.com/][Catppuccin]] almost everywhere. The nix module integrates almost automatically everywhere (except gtk).
|
||||
You'll notice the color values in multiple places outside this as well.
|
||||
#+BEGIN_SRC nix :tangle generated/system/core/theme.nix :noweb tangle :mkdirp yes :eval never-html
|
||||
{ pkgs, ...}:
|
||||
{
|
||||
environment.systemPackages = with pkgs; [
|
||||
magnetic-catppuccin-gtk
|
||||
];
|
||||
|
||||
gtk = {
|
||||
enable = true;
|
||||
theme = {
|
||||
name = "Catppuccin-Mocha-Standard-Blue-Dark";
|
||||
package = pkgs.magnetic-catppuccin-gtk;
|
||||
};
|
||||
iconTheme = {
|
||||
name = "Papirus-Dark";
|
||||
package = pkgs.papirus-icon-theme;
|
||||
};
|
||||
gtk3.extraConfig = {
|
||||
gtk-application-prefer-dark-theme = 1;
|
||||
};
|
||||
gtk4.extraConfig = {
|
||||
gtk-application-prefer-dark-theme = 1;
|
||||
};
|
||||
};
|
||||
|
||||
catppuccin.enable = true;
|
||||
catppuccin.flavor = "mocha";
|
||||
catppuccin.accent = "blue";
|
||||
catppuccin.gtk.icon.enable = true;
|
||||
catppuccin.cursors.enable = true;
|
||||
}
|
||||
#+END_SRC
|
||||
|
||||
** =generated/system/core/fonts.nix=
|
||||
This file installs and configures fonts
|
||||
#+BEGIN_SRC nix :tangle generated/system/core/fonts.nix :noweb tangle :mkdirp yes :eval never-html
|
||||
@@ -1191,26 +1228,7 @@ in
|
||||
{
|
||||
home-manager.users.${username} = {
|
||||
|
||||
# GTK icon theme: Papirus + Catppuccin Mocha
|
||||
gtk.enable = true;
|
||||
gtk.gtk3.iconTheme.name = "Papirus";
|
||||
gtk.gtk4.iconTheme.name = "Papirus";
|
||||
|
||||
# Catppuccin Mocha dark theme
|
||||
xdg.configFile."gtk-3.0/settings.ini".text = ''
|
||||
[Settings]
|
||||
gtk-theme-name=Catppuccin-Mocha-Standard-Blue-Dark
|
||||
gtk-icon-theme-name=Papirus
|
||||
gtk-application-prefer-dark-theme=1
|
||||
'';
|
||||
xdg.configFile."gtk-4.0/settings.ini".text = ''
|
||||
[Settings]
|
||||
gtk-theme-name=Catppuccin-Mocha-Standard-Blue-Dark
|
||||
gtk-icon-theme-name=Papirus
|
||||
gtk-application-prefer-dark-theme=1
|
||||
'';
|
||||
|
||||
# Thunar and plugins
|
||||
# Thunar and plugins
|
||||
home.packages = with pkgs; [
|
||||
thunar
|
||||
thunar-volman
|
||||
|
||||
Reference in New Issue
Block a user