Still GTK looks
This commit is contained in:
+399
-374
File diff suppressed because it is too large
Load Diff
+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-tuigreeter.nix
|
||||||
#./login-lightdm.nix
|
#./login-lightdm.nix
|
||||||
./fonts.nix
|
./fonts.nix
|
||||||
|
./theme.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
#+END_SRC
|
#+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=
|
** =generated/system/core/fonts.nix=
|
||||||
This file installs and configures fonts
|
This file installs and configures fonts
|
||||||
#+BEGIN_SRC nix :tangle generated/system/core/fonts.nix :noweb tangle :mkdirp yes :eval never-html
|
#+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} = {
|
home-manager.users.${username} = {
|
||||||
|
|
||||||
# GTK icon theme: Papirus + Catppuccin Mocha
|
# Thunar and plugins
|
||||||
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
|
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
thunar
|
thunar
|
||||||
thunar-volman
|
thunar-volman
|
||||||
|
|||||||
@@ -11,26 +11,7 @@ in
|
|||||||
{
|
{
|
||||||
home-manager.users.${username} = {
|
home-manager.users.${username} = {
|
||||||
|
|
||||||
# GTK icon theme: Papirus + Catppuccin Mocha
|
# Thunar and plugins
|
||||||
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
|
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
thunar
|
thunar
|
||||||
thunar-volman
|
thunar-volman
|
||||||
|
|||||||
@@ -0,0 +1,30 @@
|
|||||||
|
{ 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;
|
||||||
|
}
|
||||||
@@ -7,5 +7,6 @@
|
|||||||
./login-tuigreeter.nix
|
./login-tuigreeter.nix
|
||||||
#./login-lightdm.nix
|
#./login-lightdm.nix
|
||||||
./fonts.nix
|
./fonts.nix
|
||||||
|
./theme.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user