aboutsummaryrefslogtreecommitdiff
path: root/home-manager/gtk/default.nix
blob: ed326c2f26f4da634f6ee67b6f2f85a5ef130b93 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
{ config, pkgs, ... }:
{
  dconf = {
    enable = true;
    settings = {
      "org/gnome/desktop/interface" = {
        color-scheme = "prefer-dark";
      };

      "org/cinnamon/desktop/keybindings/media-keys" = {
        email = [ "<Super>m" ];
        home = [ "<Super>f" ];
        search = [ "<Super>space" ];
        terminal = [ "<Super>Return" ];
        www = [ "<Super>w" ];
      };

      "org/cinnamon/desktop/keybindings/wm" = {
        close=[ "<Super>c" ];
      };
    };
  };

  gtk = {
    enable = true;

    theme = {
      name = "Qogir";
      package = pkgs.qogir-theme;
    };

    iconTheme = {
      name = "Qogir";
      package = pkgs.qogir-icon-theme;
    };

    gtk3.extraConfig = {
      gtk-application-prefer-dark-theme = 1;
    };

    gtk4.extraConfig = {
      gtk-application-prefer-dark-theme = 1;
    };
  };
}
Directive (EU) 2019/790, Article 4(3); all rights regarding Text and Data Mining (TDM) are reserved.