From ba3cdcd0421b4d7b7e654009ebf85e81f749a5a1 Mon Sep 17 00:00:00 2001 From: traxys Date: Thu, 8 Aug 2024 22:51:45 +0200 Subject: [PATCH] gui: Move terminal settings from wm --- gui/hm.nix | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ wm/hm.nix | 48 ------------------------------------------------ 2 files changed, 49 insertions(+), 48 deletions(-) diff --git a/gui/hm.nix b/gui/hm.nix index d2c35ea..651544a 100644 --- a/gui/hm.nix +++ b/gui/hm.nix @@ -41,6 +41,55 @@ waypipe ]; + terminal = { + enable = true; + kind = "foot"; + + colors = { + background = "1a1b26"; + foreground = "c0caf5"; + + black = { + normal = "15161e"; + bright = "414868"; + }; + red = { + normal = "f7768e"; + }; + green = { + normal = "9ece6a"; + }; + yellow = { + normal = "e0af68"; + }; + blue = { + normal = "7aa2f7"; + }; + magenta = { + normal = "bb9af7"; + }; + cyan = { + normal = "7dcfff"; + }; + white = { + normal = "a9b1d6"; + bright = "c0caf5"; + }; + + urls = "73daca"; + + selection = { + foreground = "c0caf5"; + background = "33467c"; + }; + }; + font = { + family = "Hack Nerd Font Mono"; + size = lib.mkDefault 10; + }; + }; + + programs.firefox = { enable = true; nativeMessagingHosts = [ pkgs.firefoxpwa ]; diff --git a/wm/hm.nix b/wm/hm.nix index 02ac7aa..8371383 100644 --- a/wm/hm.nix +++ b/wm/hm.nix @@ -58,54 +58,6 @@ name = "Adwaita"; }; - terminal = { - enable = true; - kind = "foot"; - - colors = { - background = "1a1b26"; - foreground = "c0caf5"; - - black = { - normal = "15161e"; - bright = "414868"; - }; - red = { - normal = "f7768e"; - }; - green = { - normal = "9ece6a"; - }; - yellow = { - normal = "e0af68"; - }; - blue = { - normal = "7aa2f7"; - }; - magenta = { - normal = "bb9af7"; - }; - cyan = { - normal = "7dcfff"; - }; - white = { - normal = "a9b1d6"; - bright = "c0caf5"; - }; - - urls = "73daca"; - - selection = { - foreground = "c0caf5"; - background = "33467c"; - }; - }; - font = { - family = "Hack Nerd Font Mono"; - size = lib.mkDefault 10; - }; - }; - programs.foot.settings.colors."16" = "ff9e64"; programs.foot.settings.colors."17" = "db4b4b";