From adb2083ecefc8eb4191174704dd0e402f67c0f86 Mon Sep 17 00:00:00 2001 From: Himadri Bhattacharjee <107522312+lavafroth@users.noreply.github.com> Date: Fri, 29 Nov 2024 17:12:07 +0530 Subject: [PATCH] feat: use adwaita dark only when using gnome theme --- hosts/default/home/gnome.nix | 2 ++ hosts/default/home/helix.nix | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/hosts/default/home/gnome.nix b/hosts/default/home/gnome.nix index d7bdce5..bfb18df 100644 --- a/hosts/default/home/gnome.nix +++ b/hosts/default/home/gnome.nix @@ -18,6 +18,8 @@ ]); # the above two get merged + home.programs.helix.settings.theme = "adwaita-dark"; + # Refer to https://hoverbear.org/blog/declarative-gnome-configuration-in-nixos/ dconf.settings = { "org/gnome/calculator" = { diff --git a/hosts/default/home/helix.nix b/hosts/default/home/helix.nix index ebad5ea..4f69d80 100644 --- a/hosts/default/home/helix.nix +++ b/hosts/default/home/helix.nix @@ -4,7 +4,6 @@ programs.helix = { enable = true; settings = { - theme = "adwaita-dark"; editor.cursor-shape.insert = "bar"; editor.line-number = "relative"; editor.idle-timeout = 0;