zellij: rework layout configuration
extend the base zellij home-manager module to include the option to define layouts with zjstatus, opinionated module; will never be upstreamed in current state also re-enable cava as build failure has been fixed in nixpkgs
This commit is contained in:
parent
602b82fb04
commit
b07798e0e8
4 changed files with 184 additions and 65 deletions
|
|
@ -2,11 +2,28 @@
|
|||
pkgs,
|
||||
hozen,
|
||||
osConfig,
|
||||
ook,
|
||||
...
|
||||
}: let
|
||||
inherit (hozen) color;
|
||||
inherit (ook.lib.generators) mkZellijLayout;
|
||||
in {
|
||||
text =
|
||||
text = mkZellijLayout {
|
||||
zjstatusFile = "${inputs'.zjstatus.packages.default}/bin/zjstatus.wasm";
|
||||
icon = "";
|
||||
timeZone = "${osConfig.time.timeZone}";
|
||||
tabs = ''
|
||||
tab name="terminal" focus=true {
|
||||
pane name="term" cwd="$FLAKE" focus=true
|
||||
}
|
||||
tab name="editor" {
|
||||
pane name="edit" edit="$FLAKE"
|
||||
}
|
||||
tab name="git" {
|
||||
pane name="git" cwd="$FLAKE" command="lazygit"
|
||||
}
|
||||
'';
|
||||
};
|
||||
/*
|
||||
kdl
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue