From a5212e24ae9b29b00d5d03ad88cea3cbbb8bd521 Mon Sep 17 00:00:00 2001 From: RGBCube Date: Sat, 17 Feb 2024 20:31:21 +0300 Subject: [PATCH] Clean up Helix Kitty logic --- modules/helix.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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} } }