attempt darkmode

This commit is contained in:
janis 2025-09-03 04:33:17 +02:00
parent 4c2876dc50
commit d9658fa236
Signed by: janis
SSH key fingerprint: SHA256:bB1qbbqmDXZNT0KKD5c2Dfjg53JGhj7B3CFcLIzSqq8

View file

@ -1,4 +1,4 @@
{pkgs, ...}:
{pkgs, lib, super-config, ...}:
let
user = import ../data/user.nix {};
in {
@ -47,10 +47,19 @@ in {
package = pkgs.whitesur-cursors;
size = 24;
};
gtk3.extraConfig = {
gtk-application-prefer-dark-theme = super-config.darkMode == true;
};
gtk4.extraConfig = {
gtk-application-prefer-dark-theme = super-config.darkMode == true;
};
};
dconf.settings = {
"org/gnome/desktop/interface" = {
color-scheme = lib.optionals (super-config.darkMode == true) "prefer-dark";
};
};
@ -83,6 +92,7 @@ in {
packages = with pkgs; [
# Add your global packages here
neovim
bottom
git
wget
curl
@ -92,6 +102,7 @@ in {
pavucontrol
ripgrep
killall
x11_ssh_askpass
vanilla-dmz
(discord.override {withVencord = true;})
bitwarden-desktop