[desktop] Declaratively sets dark-mode options

This commit is contained in:
Periodic committed 2025-03-31 17:11:45 -07:00
1 parent 74d939d062
commit 938dfd49bf
2 files changed
+13

No files matched your search

+10
View File
@@ -20,6 +20,7 @@
hyprpolkitagent # Privilege managent
gnome-keyring # Secret management
glib # for Gnome/GTK settings
gsettings-desktop-schemas # So that we can access gnome settings
xdg-desktop-portal-hyprland
xdg-desktop-portal-gtk # GTK backend for XDG components like pickers
grim # Screenshot provider
@@ -29,6 +30,7 @@
wirelesstools
waypaper # Wallpaper switcher
phinger-cursors # Mouse cursors
];
# Hint for electron apps to use wayland
@@ -54,6 +56,14 @@
};
};
# This is where the real magic happens to tell the applications to prefer
# dark mode. For example, Element reads from this setting.
dconf.settings = {
"org/gnome/desktop/interface" = {
color-scheme = "prefer-dark";
};
};
# QT theming
qt = {
enable = true;