summaryrefslogtreecommitdiff
path: root/hm/shell/foot.nix
diff options
context:
space:
mode:
Diffstat (limited to 'hm/shell/foot.nix')
-rw-r--r--hm/shell/foot.nix20
1 files changed, 17 insertions, 3 deletions
diff --git a/hm/shell/foot.nix b/hm/shell/foot.nix
index 3143d12..91dbfa0 100644
--- a/hm/shell/foot.nix
+++ b/hm/shell/foot.nix
@@ -9,7 +9,7 @@ let
cfg = config.hm.shell.foot;
footTheme = pkgs.runCommand "gruvbox-dark" { } ''
- sed 's/\[colors-dark\]/\[colors\]/g' ${
+ sed -e 's/\[colors-dark\]/\[colors\]/g' ${
pkgs.fetchurl {
url = "https://codeberg.org/dnkl/foot/raw/branch/master/themes/gruvbox-dark";
sha256 = "sha256-hlmLklG/vAEDy8I+k13+o4ZR6Cq6lTxOconjf9M75eo=";
@@ -22,7 +22,7 @@ in
enable = lib.mkEnableOption "foot terminal emulator";
fontSize = lib.mkOption {
type = lib.types.int;
- default = 14;
+ default = 13;
description = "Font size for the foot terminal";
};
};
@@ -34,12 +34,26 @@ in
settings = {
main = {
font = "JetBrainsMonoNFM-Regular:size=${toString cfg.fontSize}";
- box-drawings-uses-font-glyphs = true;
include = "${footTheme}";
+ word-delimiters = ",│`|:\"'()[]{}<>./";
+ selection-target = "both";
+ dpi-aware = "yes";
};
+
+ search-bindings = {
+ find-prev = "Control+p";
+ find-next = "Control+n";
+ commit = "Return";
+ };
+
scrollback = {
lines = 10000;
+ multiplier = 3.0;
+ indicator-position = "none";
};
+
+ security.osc52 = "enabled";
+ url.osc8-underline = "always";
};
};
};