diff --git a/modules/helix.nix b/modules/helix.nix index 7d3910f..9871e14 100644 --- a/modules/helix.nix +++ b/modules/helix.nix @@ -7,13 +7,13 @@ configFile.text = lib.mkAfter '' def --wrapped hx [...arguments] { - if ($env.TERM | str contains "kitty") { + if $env.TERM == "xterm-kitty" { kitty @ set-spacing padding=0 } ^hx ...$arguments - if ($env.TERM | str contains "kitty") { + if $env.TERM == "xterm-kitty" { kitty @ set-spacing padding=${toString theme.padding} } }