fix(wm): attepmts at having a dark theme in nautilus
This commit is contained in:
parent
a455d51125
commit
aa6425a846
2 changed files with 18 additions and 9 deletions
|
|
@ -1,6 +1,7 @@
|
||||||
{ pkgs, ... }:
|
{ pkgs, ... }:
|
||||||
{
|
{
|
||||||
gtk = {
|
gtk = {
|
||||||
|
enable = true;
|
||||||
catppuccin = {
|
catppuccin = {
|
||||||
enable = true;
|
enable = true;
|
||||||
size = "compact";
|
size = "compact";
|
||||||
|
|
@ -17,7 +18,14 @@
|
||||||
accent = "mauve";
|
accent = "mauve";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
gtk3.extraConfig."gtk-application-prefer-dark—theme" = true;
|
};
|
||||||
|
|
||||||
|
# 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";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
home.pointerCursor = {
|
home.pointerCursor = {
|
||||||
|
|
@ -36,12 +44,4 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
platformTheme.name = "gtk";
|
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";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -13,6 +13,15 @@
|
||||||
fprintd
|
fprintd
|
||||||
polkit_gnome
|
polkit_gnome
|
||||||
];
|
];
|
||||||
|
|
||||||
|
etc."xdg/gtk-2.0/gtkrc".text = ''
|
||||||
|
gtk-theme-name = "Papirus-Dark"
|
||||||
|
'';
|
||||||
|
|
||||||
|
etc."xdg/gtk-3.0/settings.ini".text = ''
|
||||||
|
[Settings]
|
||||||
|
gtk-theme-name = Papirus-Dark
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
fonts.packages = with pkgs; [
|
fonts.packages = with pkgs; [
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue