Skip to content

Commit c2be0ea

Browse files
committed
core: dark theme for libadwaita
1 parent d3e8aea commit c2be0ea

File tree

3 files changed

+16
-2
lines changed

3 files changed

+16
-2
lines changed

modules/themes/Catppuccin/default.nix

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,10 @@ in
4242
};
4343
};
4444

45+
home.sessionVariables = {
46+
ADW_COLOR_SCHEME = "prefer-dark"; # Libadwaita
47+
};
48+
4549
dconf.settings = {
4650
"org/gnome/desktop/interface" = {
4751
color-scheme = "prefer-dark";

modules/themes/Dracula/default.nix

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
x11.enable = true;
1717
package = pkgs.bibata-cursors;
1818
name = "Bibata-Modern-Classic";
19-
size = 16; # 24
19+
size = 24;
2020
};
2121

2222
qt = {
@@ -31,6 +31,7 @@
3131

3232
gtk = {
3333
enable = true;
34+
gtk2.force = true;
3435

3536
theme = {
3637
name = "Dracula";
@@ -56,6 +57,10 @@
5657
#};
5758
};
5859

60+
home.sessionVariables = {
61+
ADW_COLOR_SCHEME = "prefer-dark"; # Libadwaita
62+
};
63+
5964
xdg.configFile = {
6065
"gtk-4.0/assets".source =
6166
"${config.gtk.theme.package}/share/themes/${config.gtk.theme.name}/gtk-4.0/assets";

modules/themes/rose-pine/default.nix

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ in
2626
# GTK configuration
2727
gtk = {
2828
enable = true;
29+
gtk2.force = true;
2930
theme = {
3031
name = baseName;
3132
package = pkgs.rose-pine-gtk-theme;
@@ -44,6 +45,10 @@ in
4445
};
4546
};
4647

48+
home.sessionVariables = {
49+
ADW_COLOR_SCHEME = "prefer-dark"; # Libadwaita
50+
};
51+
4752
# Qt configuration with Kvantum
4853
qt = {
4954
enable = true;
@@ -52,7 +57,7 @@ in
5257
};
5358

5459
# Kvantum configuration
55-
xdg.dataFile."Kvantum/${kvantumThemeName}".source = kvantumThemeDir;
60+
xdg.configFile."Kvantum/${kvantumThemeName}".source = kvantumThemeDir;
5661
xdg.configFile."Kvantum/kvantum.kvconfig".source =
5762
(pkgs.formats.ini { }).generate "kvantum.kvconfig"
5863
{

0 commit comments

Comments
 (0)