100 lines
5.6 KiB
Nix
100 lines
5.6 KiB
Nix
{ plugins, timezone, ... }:
|
|
/*kdl*/ ''
|
|
layout {
|
|
pane split_direction="vertical" {
|
|
pane
|
|
}
|
|
|
|
pane size=1 borderless=true {
|
|
plugin location="file:${plugins.zj-status}" {
|
|
// -- Gruvbox Light mode
|
|
color_bg0 "#fbf1c7" //light0
|
|
color_bg1 "#ebdbb2" //light1
|
|
color_bg2 "#d5c4a1" //light2
|
|
color_bg3 "#bdae93" //light3
|
|
color_bg4 "#a89984" //light4
|
|
color_fg0 "#282828" //dark0
|
|
color_fg1 "#3c3836" //dark1
|
|
color_fg2 "#504945" //dark2
|
|
color_fg3 "#665c54" //dark3
|
|
color_fg4 "#7c6f64" //dark4
|
|
color_red "#9d0006" //faded_red
|
|
color_green "#79740e" //faded_green
|
|
color_yellow "#b57614" //faded_yellow
|
|
color_blue "#076678" //faded_blue
|
|
color_purple "#8f3f71" //faded_purple
|
|
color_aqua "#427b58" //faded_aqua
|
|
color_gray "#7c6f64" //faded_gray
|
|
color_orange "#af3a03" //faded_orange
|
|
color_neutral_red "#cc241d" //neutral_red
|
|
color_neutral_green "#98971a" //neutral_green
|
|
color_neutral_yellow "#d79921" //neutral_yellow
|
|
color_neutral_blue "#458588" //neutral_blue
|
|
color_neutral_purple "#b16286" //neutral_purple
|
|
color_neutral_aqua "#689d6a" //neutral_aqua
|
|
color_neutral_orange "#d65d0e" //neatural_orange
|
|
color_neutral_gray "#928374" //neutral_gray
|
|
|
|
format_left "#[bg=$bg2,fg=$fg3] {session} {mode}#[bg=$bg1]{tabs}"
|
|
format_center "{notifications}"
|
|
format_right "#[bg=$bg1,fg=$bg2]#[bg=$bg2,fg=$fg4] {command_user}@{command_host} #[bg=$bg2,fg=$fg3]#[bg=$fg3,fg=$bg1] {datetime} "
|
|
format_space "#[bg=$bg1,fg=$fg1]"
|
|
format_hide_on_overlength "true"
|
|
format_precedence "lrc"
|
|
|
|
border_enabled "true"
|
|
border_char "─"
|
|
border_format "#[fg=$bg1]{char}"
|
|
border_position "top"
|
|
|
|
hide_frame_for_single_pane "true"
|
|
|
|
mode_normal "#[bg=$bg3,fg=$bg2]#[bg=$bg3,fg=$fg3,bold] NORMAL#[bg=$bg1,fg=$bg3]"
|
|
mode_tmux "#[bg=$green,fg=$bg2]#[bg=$green,fg=$bg0,bold] TMUX#[bg=$bg1,fg=$green]"
|
|
mode_locked "#[bg=$red,fg=$bg2]#[bg=$red,fg=$bg0,bold] LOCKED#[bg=$bg1,fg=$red]"
|
|
mode_pane "#[bg=$aqua,fg=$bg2]#[bg=$aqua,fg=$bg0,bold] PANE#[bg=$bg1,fg=$aqua]"
|
|
mode_tab "#[bg=$aqua,fg=$bg2]#[bg=$aqua,fg=$bg0,bold] TAB#[bg=$bg1,fg=$aqua]"
|
|
mode_scroll "#[bg=$blue,fg=$bg2]#[bg=$blue,fg=$bg0,bold] SCROLL#[bg=$bg1,fg=$blue]"
|
|
mode_enter_search "#[bg=$blue,fg=$bg2]#[bg=$blue,fg=$bg0,bold] ENT-SEARCH#[bg=$bg1,fg=$blue]"
|
|
mode_search "#[bg=$blue,fg=$bg2]#[bg=$blue,fg=$bg0,bold] SEARCH#[bg=$bg1,fg=$blue]"
|
|
mode_resize "#[bg=$yellow,fg=$bg2]#[bg=$yellow,fg=$bg0,bold] RESIZE#[bg=$bg1,fg=$yellow]"
|
|
mode_rename_tab "#[bg=$yellow,fg=$bg2]#[bg=$yellow,fg=$bg0,bold] RESIZE#[bg=$bg1,fg=$yellow]"
|
|
mode_rename_pane "#[bg=$yellow,fg=$bg2]#[bg=$yellow,fg=$bg0,bold] RESIZE#[bg=$bg1,fg=$yellow]"
|
|
mode_move "#[bg=$yellow,fg=$bg2]#[bg=$yellow,fg=$bg0,bold] MOVE#[bg=$bg1,fg=$yellow]"
|
|
mode_session "#[bg=$purple,fg=$bg2]#[bg=$purple,fg=$bg0,bold] MOVE#[bg=$bg1,fg=$purple]"
|
|
mode_prompt "#[bg=$purple,fg=$bg2]#[bg=$purple,fg=$bg0,bold] PROMPT#[bg=$bg1,fg=$purple]"
|
|
|
|
tab_normal "#[bg=$bg2,fg=$bg1]#[bg=$bg2,fg=$fg1] {index} #[bg=$bg2,fg=$fg1,bold] {name} {floating_indicator}#[bg=$bg1,fg=$bg2]"
|
|
tab_normal_fullscreen "#[bg=$bg2,fg=$bg1]#[bg=$bg2,fg=$fg1] {index} #[bg=$bg2,fg=$fg1,bold] {name} {fullscreen_indicator}#[bg=$bg1,fg=$bg2]"
|
|
tab_normal_sync "#[bg=$bg2,fg=$bg1]#[bg=$bg2,fg=$fg1] {index} #[bg=$bg2,fg=$fg1,bold] {name} {sync_indicator}#[bg=$bg1,fg=$bg2]"
|
|
tab_active "#[bg=$yellow,fg=$bg1]#[bg=$yellow,fg=$bg2] {index} #[bg=$yellow,fg=$bg2,bold] {name} {floating_indicator}#[bg=$bg1,fg=$yellow]"
|
|
tab_active_fullscreen "#[bg=$yellow,fg=$bg1]#[bg=$yellow,fg=$bg2] {index} #[bg=$yellow,fg=$bg2,bold] {name} {fullscreen_indicator}#[bg=$bg1,fg=$yellow]"
|
|
tab_active_sync "#[bg=$yellow,fg=$bg1]#[bg=$yellow,fg=$bg2] {index} #[bg=$yellow,fg=$bg2,bold] {name} {sync_indicator}#[bg=$bg1,fg=$yellow]"
|
|
tab_separator "#[bg=$bg1,fg=$fg1]"
|
|
|
|
tab_sync_indicator ""
|
|
tab_fullscreen_indicator ""
|
|
tab_floating_indicator ""
|
|
|
|
notification_format_unread "#[bg=$orange,fg=$bg1]#[bg=$orange,fg=$bg1] {message} #[bg=$bg1,fg=$orange]"
|
|
notification_format_no_notifications ""
|
|
notification_show_interval "10"
|
|
|
|
command_host_command "uname -n"
|
|
command_host_format "{stdout}"
|
|
command_host_interval "0"
|
|
command_host_rendermode "static"
|
|
|
|
command_user_command "whoami"
|
|
command_user_format "{stdout}"
|
|
command_user_interval "0"
|
|
command_user_rendermode "static"
|
|
|
|
datetime "{format}"
|
|
datetime_format "%Y-%m-%d %H:%M"
|
|
datetime_timezone "${timezone}"
|
|
}
|
|
}
|
|
}
|
|
''
|