Initial commit 🚀
This commit is contained in:
7
nix/users/nicolaivds/themes/default.nix
Normal file
7
nix/users/nicolaivds/themes/default.nix
Normal file
@@ -0,0 +1,7 @@
|
||||
{ ... }:
|
||||
{
|
||||
imports = [
|
||||
./gtk.nix
|
||||
./qt.nix
|
||||
];
|
||||
}
|
37
nix/users/nicolaivds/themes/gtk.nix
Normal file
37
nix/users/nicolaivds/themes/gtk.nix
Normal file
@@ -0,0 +1,37 @@
|
||||
{
|
||||
pkgs,
|
||||
custom ? {
|
||||
font = "RobotoMono Nerd Font";
|
||||
fontsize = "12";
|
||||
cursor = "Numix-Cursor";
|
||||
},
|
||||
...
|
||||
}:
|
||||
{
|
||||
gtk = {
|
||||
enable = true;
|
||||
font.name = "${custom.font} ${custom.fontsize}";
|
||||
iconTheme = {
|
||||
name = "Papirus-Dark";
|
||||
package = pkgs.catppuccin-papirus-folders;
|
||||
};
|
||||
cursorTheme = {
|
||||
name = "${custom.cursor}";
|
||||
package = pkgs.numix-cursor-theme;
|
||||
};
|
||||
theme = {
|
||||
name = "Catppuccin-Mocha-Standard-Blue-Dark";
|
||||
package = pkgs.catppuccin-gtk.override { variant="mocha"; };
|
||||
};
|
||||
gtk3.extraConfig = {
|
||||
Settings = ''
|
||||
gtk-application-prefer-dark-theme=1
|
||||
'';
|
||||
};
|
||||
gtk4.extraConfig = {
|
||||
Settings = ''
|
||||
gtk-application-prefer-dark-theme=1
|
||||
'';
|
||||
};
|
||||
};
|
||||
}
|
8
nix/users/nicolaivds/themes/qt.nix
Normal file
8
nix/users/nicolaivds/themes/qt.nix
Normal file
@@ -0,0 +1,8 @@
|
||||
{ ... }:
|
||||
{
|
||||
qt = {
|
||||
enable = true;
|
||||
platformTheme = "gtk";
|
||||
style.name = "gtk2";
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user