From e7654cd57420454c1ba302d9fdf54b5c56d33b74 Mon Sep 17 00:00:00 2001 From: elyth Date: Mon, 30 Sep 2024 02:59:21 +0200 Subject: [PATCH] :art: (zellij): fuck tabs I think --- modules/home/opt/shell/zellij/default.nix | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/modules/home/opt/shell/zellij/default.nix b/modules/home/opt/shell/zellij/default.nix index b04387d5..433e5524 100644 --- a/modules/home/opt/shell/zellij/default.nix +++ b/modules/home/opt/shell/zellij/default.nix @@ -65,19 +65,28 @@ in ui { pane_frames { - rounded_corners true + rounded_corners false } } keybinds { normal { - bind "Alt m" { - LaunchPlugin "file:~/.config/zellij/plugins/monocle.wasm" { - in_place true - kiosk true + bind "Alt f" { + LaunchPlugin "https://github.com/laperlej/zellij-choose-tree/releases/download/v0.4.0/zellij-choose-tree.wasm"{ + floating true + move_to_focused_tab true + show_plugins false }; SwitchToMode "Normal" } + bind "Alt g" { LaunchOrFocusPlugin "https://github.com/laperlej/zellij-sessionizer/releases/download/v0.3.0/zellij-sessionizer.wasm" { + floating true + move_to_focused_tab true + cwd "/" + root_dirs "/home/gwen/workspace/rf/struktur/:/home/gwen/gh/nixvim:/etc/nixos" + }; + SwitchToMode "Normal"; + } bind "Ctrl f" { LaunchOrFocusPlugin "file:~/.config/zellij/plugins/monocle.wasm" { floating true @@ -190,7 +199,7 @@ in default_tab_template { pane size=2 borderless=true { plugin location="file://${pkgs.zjstatus}/bin/zjstatus.wasm" { - format_left "{mode}#[bg=#181926] {tabs}" + format_left "{mode}#[bg=#181926]" format_center "" format_right "#[bg=#${base0D},fg=#${base01},bold]  #[bg=#${base01},fg=#${base0D},bold] {session} #[bg=#${base01},fg=#${base0D},bold]" format_space ""