2023-04-04 09:41:04 +05:30
|
|
|
{ lib, pkgs, ... }:
|
2023-03-29 21:48:55 +05:30
|
|
|
let
|
2023-03-15 22:11:59 +05:30
|
|
|
gtkTheme = {
|
|
|
|
name = "Dracula";
|
|
|
|
package = pkgs.dracula-gtk;
|
|
|
|
};
|
|
|
|
|
|
|
|
iconTheme = {
|
|
|
|
name = "Newaita-dark";
|
2023-03-25 22:10:09 +05:30
|
|
|
package = pkgs.newaita-icon-theme.override {
|
|
|
|
panel = "dark";
|
|
|
|
folder = "bluegray";
|
|
|
|
};
|
2023-03-15 22:11:59 +05:30
|
|
|
};
|
|
|
|
|
|
|
|
cursorTheme = {
|
|
|
|
name = "Bibata-Modern-Classic";
|
|
|
|
package = pkgs.bibata-cursors;
|
|
|
|
};
|
2023-03-29 21:48:55 +05:30
|
|
|
in
|
|
|
|
{
|
2023-03-15 22:11:59 +05:30
|
|
|
gtk.enable = true;
|
|
|
|
gtk.theme = gtkTheme;
|
|
|
|
home.sessionVariables.GTK_THEME = gtkTheme.name;
|
|
|
|
xdg.configFile = {
|
|
|
|
"gtk-4.0/assets".source = "${gtkTheme.package}/share/themes/${gtkTheme.name}/gtk-4.0/assets";
|
|
|
|
"gtk-4.0/gtk.css".source = "${gtkTheme.package}/share/themes/${gtkTheme.name}/gtk-4.0/gtk.css";
|
|
|
|
"gtk-4.0/gtk-dark.css".source = "${gtkTheme.package}/share/themes/${gtkTheme.name}/gtk-4.0/gtk-dark.css";
|
|
|
|
};
|
|
|
|
|
|
|
|
gtk.cursorTheme = cursorTheme;
|
|
|
|
|
|
|
|
gtk.iconTheme = iconTheme;
|
|
|
|
|
|
|
|
gtk.gtk3.extraConfig = {
|
|
|
|
gtk-application-prefer-dark-theme = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
gtk.gtk4.extraConfig = {
|
|
|
|
gtk-application-prefer-dark-theme = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
dconf.settings = {
|
|
|
|
"org/gnome/desktop/interface" = {
|
2023-04-08 18:32:45 +05:30
|
|
|
color-scheme = "prefer-dark";
|
|
|
|
};
|
|
|
|
"org/gnome/desktop/wm/preferences" = {
|
|
|
|
button-layout = ":appmenu";
|
|
|
|
};
|
|
|
|
"org/gtk/settings/file-chooser" = {
|
|
|
|
sort-directories-first = true;
|
2023-03-15 22:11:59 +05:30
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|