feat(wm): more gtk customization, now with dark mode :3

This commit is contained in:
EinEtwas 2024-10-29 15:36:40 +01:00
parent 62c7c3ab0d
commit fad36abcc7
Signed by: etwas
SSH key fingerprint: SHA256:bHhIeAdn/2k9jmOs6+u6ox98VYmoHUN3HfnpV2w8Ws0
4 changed files with 49 additions and 9 deletions

View file

@ -36,8 +36,6 @@
accent = "mauve"; accent = "mauve";
}; };
gtk.catppuccin.enable = true;
imports = imports =
[ [
inputs.catppuccin.homeManagerModules.catppuccin inputs.catppuccin.homeManagerModules.catppuccin
@ -51,13 +49,6 @@
./misc_pkgs ./misc_pkgs
./wm ./wm
]; ];
home.pointerCursor = {
gtk.enable = true;
package = pkgs.posy-cursors;
name = "Posy_Cursor";
size = 16;
};
}; };
}; };

View file

@ -8,11 +8,13 @@
signal-desktop signal-desktop
element-desktop element-desktop
bitwarden-desktop bitwarden-desktop
thunderbird
# Terminal applications # Terminal applications
gh # github gh # github
easyeffects easyeffects
hyfetch hyfetch
fastfetch
ranger ranger
xfce.thunar xfce.thunar

View file

@ -2,6 +2,7 @@
imports = [ imports = [
./alacritty.nix ./alacritty.nix
./dunst.nix ./dunst.nix
./gtk.nix
./hyprland.nix ./hyprland.nix
./swaylock.nix ./swaylock.nix
./waybar ./waybar

46
home/wm/gtk.nix Normal file
View file

@ -0,0 +1,46 @@
{ pkgs, ... }:
{
gtk = {
catppuccin = {
enable = true;
size = "compact";
tweaks = [ "rimless" ];
};
font = {
name = "Roboto Condensed";
size = 10;
};
iconTheme = {
name = "Papirus-Dark";
package = pkgs.catppuccin-papirus-folders.override {
flavor = "mocha";
accent = "mauve";
};
};
};
home.pointerCursor = {
gtk.enable = true;
package = pkgs.posy-cursors;
name = "Posy_Cursor";
size = 16;
};
gtk.cursorTheme = {
name = "Posy_Cursor";
size = 16;
};
qt = {
enable = true;
platformTheme.name = "gtk";
};
# enable dark mode in electron apps (and possibly other places too)
# https://github.com/NixOS/nixpkgs/issues/274554#issuecomment-2211307799
dconf.settings = {
"org/gnome/desktop/interface" = {
color-scheme = "prefer-dark";
};
};
}