From 283770848e1d1c4e5b10c19c756c15d4cb5b12ef Mon Sep 17 00:00:00 2001 From: winston Date: Thu, 2 May 2024 16:38:09 +0200 Subject: [PATCH] feat: foot config --- home/apps/default.nix | 1 + home/apps/foot.nix | 56 ++++++++++++++++++++++++++++++++++ machines/common/linux/sway.nix | 1 - 3 files changed, 57 insertions(+), 1 deletion(-) create mode 100644 home/apps/foot.nix diff --git a/home/apps/default.nix b/home/apps/default.nix index 99498ab..0822125 100644 --- a/home/apps/default.nix +++ b/home/apps/default.nix @@ -4,6 +4,7 @@ ./colorscheme-sync.nix ./discord.nix ./fonts.nix + ./foot.nix ./git.nix ./gnome.nix ./gpg.nix diff --git a/home/apps/foot.nix b/home/apps/foot.nix new file mode 100644 index 0000000..a8b1f2d --- /dev/null +++ b/home/apps/foot.nix @@ -0,0 +1,56 @@ +{ + programs.foot = { + enable = true; + settings = { + main = { + term = "xterm-256color"; + + font = "Berkeley Mono:size=16,Nerd Font Symbols:size=16,Noto Color Emoji:size=16"; + dpi-aware = "yes"; + }; + + cursor = { + style = "beam"; + blink = "yes"; + }; + + scrollback.lines = 10000; + mouse.hide-when-typing = "yes"; + + colors = { + foreground = "cdd6f4"; + background = "1e1e2e"; + regular0 = "45475a"; + regular1 = "f38ba8"; + regular2 = "a6e3a1"; + regular3 = "f9e2af"; + regular4 = "89b4fa"; + regular5 = "f5c2e7"; + regular6 = "94e2d5"; + regular7 = "bac2de"; + bright0 = "585b70"; + bright1 = "f38ba8"; + bright2 = "a6e3a1"; + bright3 = "f9e2af"; + bright4 = "89b4fa"; + bright5 = "f5c2e7"; + bright6 = "94e2d5"; + bright7 = "a6adc8"; + + selection-foreground = "cdd6f4"; + selection-background = "414356"; + + search-box-no-match = "11111b f38ba8"; + search-box-match = "cdd6f4 313244"; + + jump-labels = "11111b fab387"; + urls = "89b4fa"; + }; + + key-bindings = { + search-start = "Control+Shift+f"; + show-urls-launch = "Control+Shift+o"; + }; + }; + }; +} diff --git a/machines/common/linux/sway.nix b/machines/common/linux/sway.nix index eae1364..ff0e661 100644 --- a/machines/common/linux/sway.nix +++ b/machines/common/linux/sway.nix @@ -31,7 +31,6 @@ enable = true; package = pkgs.swayfx; extraPackages = with pkgs; [ - foot swaylock-effects swayidle ];