1
Fork 0
mirror of https://github.com/RGBCube/ncc synced 2025-07-30 11:37:44 +00:00

Clean up Helix Kitty logic

This commit is contained in:
RGBCube 2024-02-17 20:31:21 +03:00
parent 1ebd99a8f4
commit a5212e24ae
No known key found for this signature in database

View file

@ -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}
}
}