about summary refs log tree commit diff
path: root/home/profiles
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2023-09-16 19:20:11 +0900
committersefidel <contact@sefidel.net>2023-09-16 19:20:11 +0900
commit559f73fad74c0ac2e50f68b751e9390b40fe622f (patch)
treec24927c3569fb5fcd379a4f7ebc48f4fff9cb356 /home/profiles
parentc81605c37f9c6358b0911d8d055f45ce56dfb911 (diff)
downloadnixrc-559f73fad74c0ac2e50f68b751e9390b40fe622f.tar.gz
nixrc-559f73fad74c0ac2e50f68b751e9390b40fe622f.zip
feat(home/base): zellij: add hdev layout
Diffstat (limited to 'home/profiles')
-rw-r--r--home/profiles/base/default.nix15
1 files changed, 15 insertions, 0 deletions
diff --git a/home/profiles/base/default.nix b/home/profiles/base/default.nix
index e6996d5..318031f 100644
--- a/home/profiles/base/default.nix
+++ b/home/profiles/base/default.nix
@@ -201,6 +201,21 @@ in
       }
     '';
 
+    xdg.configFile."zellij/layouts/hdev.kdl".text = ''
+      layout {
+          pane size=1 borderless=true {
+              plugin location="zellij:tab-bar"
+          }
+          pane split_direction="horizontal" {
+              pane size="80%" command="nvim"
+              pane size="20%"
+          }
+          pane size=2 borderless=true {
+              plugin location="zellij:status-bar"
+          }
+      }
+    '';
+
     services = {
       gpg-agent = lib.mkIf pkgs.stdenv.isLinux {
         enable = true;