gtk: add theming
This commit is contained in:
parent
f72599896e
commit
837182ae0c
2 changed files with 44 additions and 0 deletions
|
@ -1,6 +1,7 @@
|
|||
{pkgs, ...}: {
|
||||
imports = [
|
||||
./browsers.nix
|
||||
./gtk.nix
|
||||
];
|
||||
|
||||
programs.fzf.enable = true;
|
||||
|
|
43
home/programs/gtk.nix
Normal file
43
home/programs/gtk.nix
Normal file
|
@ -0,0 +1,43 @@
|
|||
{
|
||||
pkgs,
|
||||
config,
|
||||
...
|
||||
}: {
|
||||
home.pointerCursor = {
|
||||
package = pkgs.bibata-cursors;
|
||||
name = "Bibata-Modern-Classic";
|
||||
size = 16;
|
||||
gtk.enable = true;
|
||||
x11.enable = true;
|
||||
};
|
||||
|
||||
gtk = {
|
||||
enable = true;
|
||||
|
||||
font = {
|
||||
name = "Inter";
|
||||
package = pkgs.inter;
|
||||
size = 9;
|
||||
};
|
||||
|
||||
gtk2.configLocation = "${config.xdg.configHome}/gtk-2.0/gtkrc";
|
||||
|
||||
iconTheme = {
|
||||
name = "Papirus-Dark";
|
||||
package = pkgs.papirus-icon-theme;
|
||||
};
|
||||
|
||||
theme = let
|
||||
accent = "lavender";
|
||||
variant = "frappe";
|
||||
size = "standard";
|
||||
in {
|
||||
name = "catppuccin-${variant}-${accent}-${size}";
|
||||
package = pkgs.catppuccin-gtk.override {
|
||||
# https://github.com/NixOS/nixpkgs/blob/nixos-23.05/pkgs/data/themes/catppuccin-gtk/default.nix
|
||||
accents = [accent];
|
||||
inherit variant size;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue