attempt darkmode
This commit is contained in:
parent
4c2876dc50
commit
d9658fa236
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue