modules/home/common/desktop: zellij compacter layout
This commit is contained in:
parent
0acac94954
commit
6964a3bfe2
3 changed files with 118 additions and 35 deletions
|
@ -49,44 +49,38 @@
|
|||
};
|
||||
};
|
||||
|
||||
xdg.configFile."zellij/layouts/compacter.kdl".text = config.lib.generators.toKDL { } {
|
||||
layout = {
|
||||
pane = {
|
||||
_props.split_direction = "vertical";
|
||||
pane = [ ];
|
||||
};
|
||||
xdg.configFile."zellij/layouts/compacter.kdl".text = ''
|
||||
layout {
|
||||
pane split_direction="vertical" {
|
||||
pane
|
||||
}
|
||||
|
||||
pane = {
|
||||
_props = {
|
||||
size = 1;
|
||||
borderless = true;
|
||||
};
|
||||
pane size=1 borderless=true {
|
||||
plugin location="file:${inputs'.zjstatus.packages.default}/bin/zjstatus.wasm" {
|
||||
hide_frame_for_single_pane "true"
|
||||
|
||||
plugin = {
|
||||
_props.location = "file:${inputs'.zjstatus.packages.default}/bin/zjstatus.wasm";
|
||||
format_left "{mode}#[fg=fg,bg=bg,bold] {session}#[bg=bg] {tabs}"
|
||||
format_right "#[fg=#424554,bg=bg]::{datetime}"
|
||||
format_space "#[bg=bg]"
|
||||
|
||||
hide_frame_for_single_pane = "true";
|
||||
mode_normal "#[bg=green] "
|
||||
mode_locked "#[bg=magenta] "
|
||||
mode_tab "#[bg=blue] "
|
||||
mode_tmux "#[bg=red] "
|
||||
mode_default_to_mode "tmux"
|
||||
|
||||
format_left = "{mode}#[fg=#89B4FA,bg=#181825,bold] {session}#[bg=#181825] {tabs}";
|
||||
format_right = "#[fg=#424554,bg=#181825]::{datetime}";
|
||||
format_space = "#[bg=#181825]";
|
||||
tab_normal "#[fg=#6C7086,bg=bg] {index} {name} {fullscreen_indicator}{sync_indicator}{floating_indicator}"
|
||||
tab_active "#[fg=#9399B2,bg=bg,bold,italic] {index} {name} {fullscreen_indicator}{sync_indicator}{floating_indicator}"
|
||||
tab_fullscreen_indicator "□ "
|
||||
tab_sync_indicator " "
|
||||
tab_floating_indicator " "
|
||||
|
||||
mode_normal = "#[bg=#89B4FA] ";
|
||||
mode_tmux = "#[bg=#ffc387] ";
|
||||
mode_default_to_mode = "tmux";
|
||||
|
||||
tab_normal = "#[fg=#6C7086,bg=#181825] {index} {name} {fullscreen_indicator}{sync_indicator}{floating_indicator}";
|
||||
tab_active = "#[fg=#9399B2,bg=#181825,bold,italic] {index} {name} {fullscreen_indicator}{sync_indicator}{floating_indicator}";
|
||||
tab_fullscreen_indicator = "□ ";
|
||||
tab_sync_indicator = " ";
|
||||
tab_floating_indicator = " ";
|
||||
|
||||
datetime = "#[fg=#9399B2,bg=#181825] {format} ";
|
||||
datetime_format = "%A, %d %b %Y %H:%M";
|
||||
datetime_timezone = "Europe/Warsaw";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
datetime "#[fg=#9399B2,bg=bg] {format} "
|
||||
datetime_format "%A, %d %b %Y %H:%M"
|
||||
datetime_timezone "Europe/Warsaw"
|
||||
}
|
||||
}
|
||||
}
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue