feat: implement zide
This commit is contained in:
@@ -0,0 +1,47 @@
|
||||
{ ... }:
|
||||
{
|
||||
programs.zellij.enable = true;
|
||||
|
||||
xdg.configFile."zellij/config.kdl".text = ''
|
||||
theme "onedark"
|
||||
pane_frames false
|
||||
simplified_ui true
|
||||
show_startup_tips false
|
||||
|
||||
themes {
|
||||
onedark {
|
||||
fg "#abb2bf"
|
||||
bg "#282c34"
|
||||
black "#3f4451"
|
||||
red "#e06c75"
|
||||
green "#98c379"
|
||||
yellow "#e5c07b"
|
||||
blue "#61afef"
|
||||
magenta "#c678dd"
|
||||
cyan "#56b6c2"
|
||||
white "#abb2bf"
|
||||
orange "#d19a66"
|
||||
}
|
||||
}
|
||||
'';
|
||||
|
||||
xdg.configFile."zellij/layouts/ide.kdl".text = ''
|
||||
layout {
|
||||
pane split_direction="horizontal" {
|
||||
pane size="75%" split_direction="vertical" {
|
||||
pane size="20%" {
|
||||
command "yazi-ide"
|
||||
}
|
||||
pane {
|
||||
command "hx"
|
||||
args "."
|
||||
}
|
||||
}
|
||||
pane size="25%"
|
||||
}
|
||||
pane size=1 borderless=true {
|
||||
plugin location="zellij:compact-bar"
|
||||
}
|
||||
}
|
||||
'';
|
||||
}
|
||||
Reference in New Issue
Block a user