Still GTK looks

This commit is contained in:
2026-03-16 11:32:54 +00:00
parent 49a2d35d02
commit 5e41844415
5 changed files with 446 additions and 429 deletions
+386 -388
View File
File diff suppressed because it is too large Load Diff
+31 -33
View File
@@ -339,7 +339,7 @@ This is the top of the machine hierarchy
./session.nix ./session.nix
./networking.nix ./networking.nix
./gtk.nix ./gtk.nix
./theme.nix ./catppuccin.nix
inputs.home-manager.nixosModules.home-manager inputs.home-manager.nixosModules.home-manager
]; ];
@@ -1121,47 +1121,45 @@ This file sets up wayland
** =generated/out_of_tree/machines/traveldroid/gtk.nix= ** =generated/out_of_tree/machines/traveldroid/gtk.nix=
This file configures gtk This file configures gtk
#+BEGIN_SRC nix :tangle generated/out_of_tree/machines/traveldroid/gtk.nix :noweb tangle :mkdirp yes :eval never-html #+BEGIN_SRC nix :tangle generated/out_of_tree/machines/traveldroid/gtk.nix :noweb tangle :mkdirp yes :eval never-html
{ pkgs, inputs, ... }: { pkgs, ... }:
{ {
# enable the catppuccin theme for everything with mocha + blue accents gtk = {
catppuccin.enable = true; enable = true;
catppuccin.flavor = "mocha"; colorScheme = "dark";
catppuccin.accent = "blue"; theme = {
name = "Catppuccin-GTK-Grey-Dark-Compact";
#SEE SESSIONS.NIX FOR SESSION VARIABLES package = (pkgs.magnetic-catppuccin-gtk.override {
accent = [ "grey" ];
shade = "dark";
tweaks = [ "black" ];
size = "compact";
});
};
iconTheme.name = "Papirus-Dark";
};
} }
#+END_SRC #+END_SRC
** Theme ** generated/out_of_tree/machines/traveldroid/catppuccin.nix
I use the [[https://catppuccin.com/][Catppuccin]] almost everywhere. The nix module integrates almost automatically everywhere (except gtk). 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. You'll notice the color values in multiple places outside this as well.
#+BEGIN_SRC nix :tangle generated/out_of_tree/machines/traveldroid/theme.nix :noweb tangle :mkdirp yes :eval never-html #+BEGIN_SRC nix :tangle generated/out_of_tree/machines/traveldroid/catppuccin.nix :noweb tangle :mkdirp yes :eval never-html
{ pkgs, ...}: { ... }:
{
{
catppuccin = {
enable = true;
flavor = "mocha";
accent = "blue";
gtk = { gtk = {
enable = true; icon.enable = true;
colorScheme = "dark";
theme = {
name = "Catppuccin-GTK-Grey-Dark-Compact";
package = (pkgs.magnetic-catppuccin-gtk.override {
accent = [ "grey" ];
shade = "dark";
tweaks = [ "black" ];
size = "compact";
});
};
iconTheme.name = "Papirus-Dark";
}; };
cursors.enable = true;
catppuccin.enable = true; };
catppuccin.flavor = "mocha"; }
catppuccin.accent = "blue"; #+END_SRC
catppuccin.gtk.icon.enable = true;
catppuccin.cursors.enable = true;
}
#+END_SRC
** =generated/system/development/top.nix= ** =generated/system/development/top.nix=
This is top file of this level which contains just an import statement for all relevant files and/or the subfolder in this folder This is top file of this level which contains just an import statement for all relevant files and/or the subfolder in this folder
@@ -0,0 +1,13 @@
{ ... }:
{
catppuccin = {
enable = true;
flavor = "mocha";
accent = "blue";
gtk = {
icon.enable = true;
};
cursors.enable = true;
};
}
@@ -1,10 +1,18 @@
{ pkgs, inputs, ... }: { pkgs, ... }:
{ {
# enable the catppuccin theme for everything with mocha + blue accents gtk = {
catppuccin.enable = true; enable = true;
catppuccin.flavor = "mocha"; colorScheme = "dark";
catppuccin.accent = "blue"; theme = {
name = "Catppuccin-GTK-Grey-Dark-Compact";
#SEE SESSIONS.NIX FOR SESSION VARIABLES package = (pkgs.magnetic-catppuccin-gtk.override {
accent = [ "grey" ];
shade = "dark";
tweaks = [ "black" ];
size = "compact";
});
};
iconTheme.name = "Papirus-Dark";
};
} }
@@ -19,7 +19,7 @@
./session.nix ./session.nix
./networking.nix ./networking.nix
./gtk.nix ./gtk.nix
./theme.nix ./catppuccin.nix
inputs.home-manager.nixosModules.home-manager inputs.home-manager.nixosModules.home-manager
]; ];