5VG3EQNACOGNYBWBLBAHEN7YJQHVMDD5FEGTIIXDPLYIXMRF2ALAC
layout {
pane
pane stacked=true {
pane
}
pane size=1 borderless=true {
plugin location="zellij:compact-bar"
}
}
layout {
pane
pane stacked=true {
pane
}
pane size=1 borderless=true {
plugin location="zellij:compact-bar"
}
}
layout {
pane stacked=true {
pane
}
pane size=1 borderless=true {
plugin location="zellij:compact-bar"
}
}
xdg.configFile."zellij/config.kdl".text =
''
layout_dir "${config.xdg.configHome}/zellij/layouts"
theme_dir "${config.xdg.configHome}/zellij/themes"
''
+ builtins.readFile ./config.kdl;
xdg.configFile."zellij/themes/rose-pine.kdl".source = ./themes/rose-pine.kdl;
}
xdg.configFile =
(merge layouts)
// {
"zellij/themes/rose-pine.kdl".source = ./themes/rose-pine.kdl;
"zellij/config.kdl".text =
''
layout_dir "${config.xdg.configHome}/zellij/layouts"
theme_dir "${config.xdg.configHome}/zellij/themes"
''
+ builtins.readFile ./config.kdl;
};
}
// copy_clipboard "primary" // primary or system, default is system
copy_clipboard "primary" // primary or system, default is system
copy_on_select true
plugins {
tab-bar { path "tab-bar"; }
status-bar { path "status-bar"; }
strider { path "strider"; }
compact-bar { path "compact-bar"; }
}
space.g = {
# TODO can we detect if we're in a zellij pane? if we're not in one this should fail
g = ":sh zellij run --direction up --close-on-exit --name gitui -- gitui --polling";
space.G = {
g = ":sh zellij run --direction up --close-on-exit --name gitui -- gitui --polling && zellij action toggle-fullscreen";