2024-12-07 19:17:49 +05:30
|
|
|
{ pkgs, ... }:
|
2023-11-04 16:12:45 +05:30
|
|
|
let
|
2024-12-07 16:11:46 +05:30
|
|
|
theme = {
|
2023-03-15 22:11:59 +05:30
|
|
|
name = "Dracula";
|
2024-12-07 16:11:46 +05:30
|
|
|
package = pkgs.dracula-theme;
|
2023-03-15 22:11:59 +05:30
|
|
|
};
|
|
|
|
|
|
|
|
iconTheme = {
|
2024-12-07 16:11:46 +05:30
|
|
|
name = "Dracula";
|
|
|
|
package = pkgs.dracula-icon-theme;
|
2023-03-15 22:11:59 +05:30
|
|
|
};
|
|
|
|
|
|
|
|
cursorTheme = {
|
2024-12-07 16:11:46 +05:30
|
|
|
name = "Bibata-Modern-Amber";
|
2023-03-15 22:11:59 +05:30
|
|
|
package = pkgs.bibata-cursors;
|
|
|
|
};
|
2023-11-04 16:12:45 +05:30
|
|
|
in
|
|
|
|
{
|
2024-09-24 22:59:03 +05:30
|
|
|
home.pointerCursor = cursorTheme // { gtk.enable = true; size = 24; x11.enable = true; };
|
2023-10-02 17:23:23 +05:30
|
|
|
gtk = {
|
|
|
|
enable = true;
|
2024-12-07 16:11:46 +05:30
|
|
|
inherit theme cursorTheme iconTheme;
|
2023-10-02 17:23:23 +05:30
|
|
|
gtk3.extraConfig = {
|
|
|
|
gtk-application-prefer-dark-theme = true;
|
|
|
|
};
|
|
|
|
gtk4.extraConfig = {
|
|
|
|
gtk-application-prefer-dark-theme = true;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2024-12-07 16:11:46 +05:30
|
|
|
home.sessionVariables.GTK_THEME = theme.name;
|
2023-03-15 22:11:59 +05:30
|
|
|
xdg.configFile = {
|
2024-12-07 16:11:46 +05:30
|
|
|
"gtk-4.0/assets".source = "${theme.package}/share/themes/${theme.name}/gtk-4.0/assets";
|
|
|
|
"gtk-4.0/gtk.css".source = "${theme.package}/share/themes/${theme.name}/gtk-4.0/gtk.css";
|
|
|
|
"gtk-4.0/gtk-dark.css".source = "${theme.package}/share/themes/${theme.name}/gtk-4.0/gtk-dark.css";
|
2023-03-15 22:11:59 +05:30
|
|
|
};
|
|
|
|
|
|
|
|
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
|
|
|
};
|
2024-05-14 23:15:38 +05:30
|
|
|
"org/gtk/gtk4/settings/file-chooser" = {
|
|
|
|
sort-directories-first = true;
|
|
|
|
};
|
2023-03-15 22:11:59 +05:30
|
|
|
};
|
|
|
|
}
|