From 2c468724fd0e1f9c3439aec7df313f1216c6b6ab Mon Sep 17 00:00:00 2001 From: Mohammad Rafiq Date: Sun, 6 Apr 2025 23:46:21 +0800 Subject: [PATCH] feat(zellij): move layout around --- modules/programs/zellij.nix | 29 ++++++++++++++++++++--------- 1 file changed, 20 insertions(+), 9 deletions(-) diff --git a/modules/programs/zellij.nix b/modules/programs/zellij.nix index e14af59..ede3087 100644 --- a/modules/programs/zellij.nix +++ b/modules/programs/zellij.nix @@ -1,13 +1,24 @@ { - home-manager.users.rafiq.programs.zellij = { - enable = true; - attachExistingSession = true; - settings = { - show_startup_tips = false; - pane_frames = false; - keybinds.unbind = [ - "Ctrl h" - ]; + home-manager.users.rafiq = { + programs.zellij = { + enable = true; + attachExistingSession = true; + settings = { + show_startup_tips = false; + pane_frames = false; + keybinds.unbind = [ + "Ctrl h" + ]; + }; }; + xdg.configFile."zellij/layouts/default.kdl".text = # kdl + '' + layout { + pane + pane size=1 borderless=true { + plugin location="tab-bar" + } + } + ''; }; }