From fbdb0ba6b8fae65de007efa9d664edbd2d7bee16 Mon Sep 17 00:00:00 2001 From: Ahwx Date: Tue, 18 Nov 2025 10:47:28 +0100 Subject: [PATCH] feat: adds `gsettings` dark mode --- modules/home/hyprland/config.nix | 1 + modules/home/sway/default.nix | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/home/hyprland/config.nix b/modules/home/hyprland/config.nix index ceaf21d..4f09651 100644 --- a/modules/home/hyprland/config.nix +++ b/modules/home/hyprland/config.nix @@ -36,6 +36,7 @@ "mpDris2 &" "foot --server &" "hyprfloat &" + "gsettings set org.gnome.desktop.interface color-scheme 'prefer-dark' &" ]; input = { diff --git a/modules/home/sway/default.nix b/modules/home/sway/default.nix index 157ec74..03727c2 100644 --- a/modules/home/sway/default.nix +++ b/modules/home/sway/default.nix @@ -198,11 +198,12 @@ in { command = "swaycons &"; } # { command = "wlsunset -S '06:30' -s '19:30' -d 1800 "; } { command = "foot --server &"; } + { command = "gsettings set org.gnome.desktop.interface color-scheme 'prefer-dark'"; } { command = "footclient"; } ]; workspaceAutoBackAndForth = false; }; - # systemd.enable = true; # ??? + # systemd.enable = true; # why would anyone do this??? wrapperFeatures = { gtk = true; };