From f3279d142844b8a9470a2bb070d17a5fa37f0b50 Mon Sep 17 00:00:00 2001 From: Himadri Bhattacharjee <107522312+lavafroth@users.noreply.github.com> Date: Fri, 31 Jan 2025 10:37:04 +0530 Subject: [PATCH] feat: powerline tab bar for kitty --- hosts/default/home/helix.nix | 7 ++++--- hosts/default/home/sources/kitty/kitty.conf | 4 ++++ 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/hosts/default/home/helix.nix b/hosts/default/home/helix.nix index 26c0a1c..649dedb 100644 --- a/hosts/default/home/helix.nix +++ b/hosts/default/home/helix.nix @@ -1,12 +1,13 @@ { pkgs, ... }: { - home.file.".config/helix/themes/hel.toml".source = ./sources/helix/hel.toml; programs.helix = { enable = true; settings = { theme = pkgs.lib.mkForce "solarized_dark"; - editor.cursor-shape.insert = "bar"; - editor.cursor-shape.normal = "bar"; + editor.cursor-shape = { + insert = "bar"; + normal = "bar"; + }; editor.line-number = "relative"; editor.idle-timeout = 0; keys.normal."X" = [ diff --git a/hosts/default/home/sources/kitty/kitty.conf b/hosts/default/home/sources/kitty/kitty.conf index 2b05781..f09c20b 100644 --- a/hosts/default/home/sources/kitty/kitty.conf +++ b/hosts/default/home/sources/kitty/kitty.conf @@ -1,4 +1,8 @@ +window_margin_width 8 cursor_shape block +tab_bar_style powerline +tab_powerline_style round +tab_bar_background #002b36 cursor_trail 1 cursor_trail_decay 0.1 0.3 cursor_trail_start_threshold 0