From 929b9484a37c7382017a0d0bd5b1c607ef7b2133 Mon Sep 17 00:00:00 2001 From: Kankys Date: Thu, 21 Mar 2024 14:15:32 +0000 Subject: [PATCH] =?UTF-8?q?Nahr=C3=A1t=20soubory=20do=20=E2=80=9E/?= =?UTF-8?q?=E2=80=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config.kdl | 25 +++++++++++++++++ helix.kdl | 15 ++++++++++ layout_file.kdl | 30 ++++++++++++++++++++ nvim.kdl | 15 ++++++++++ zjstatus.kdl | 75 +++++++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 160 insertions(+) create mode 100644 config.kdl create mode 100644 helix.kdl create mode 100644 layout_file.kdl create mode 100644 nvim.kdl create mode 100644 zjstatus.kdl diff --git a/config.kdl b/config.kdl new file mode 100644 index 0000000..8678c14 --- /dev/null +++ b/config.kdl @@ -0,0 +1,25 @@ +// Theme section + +theme "dracula" + +// Zaoblené rohy + +ui { + pane_frames { + rounded_corners true + } +} + +// Zkryje název relace + +ui { + pane_frames { + hide_session_name true + } +} + +// Uzamkne nechtěné zavírání zellij zkratkou Ctrl + q +keybinds { + unbind "Ctrl q" // unbind in all modes + } + diff --git a/helix.kdl b/helix.kdl new file mode 100644 index 0000000..d6ffe1e --- /dev/null +++ b/helix.kdl @@ -0,0 +1,15 @@ +layout { + pane size=1 borderless=true { + plugin location="zellij:tab-bar" + } + pane { + command "helix" + args "." + } + pane split_direction="vertical" size="10%" { + + } + pane size=2 borderless=true { + plugin location="zellij:status-bar" + } +} diff --git a/layout_file.kdl b/layout_file.kdl new file mode 100644 index 0000000..fa3f634 --- /dev/null +++ b/layout_file.kdl @@ -0,0 +1,30 @@ +// Načítá z .bashrc, klávesová zkratky z. + +layout { + pane size=1 borderless=true { + plugin location="zellij:tab-bar" + } + pane { + pane + } + pane split_direction="vertical" size="10%" { + + } + pane size=2 borderless=true { + plugin location="zellij:status-bar" + } +} + + + + + + + + + + + + + + diff --git a/nvim.kdl b/nvim.kdl new file mode 100644 index 0000000..c6d10b6 --- /dev/null +++ b/nvim.kdl @@ -0,0 +1,15 @@ +layout { + pane size=1 borderless=true { + plugin location="zellij:tab-bar" + } + pane { + command "nvim" + args "." + } + pane split_direction="vertical" size="10%" { + + } + pane size=2 borderless=true { + plugin location="zellij:status-bar" + } +} diff --git a/zjstatus.kdl b/zjstatus.kdl new file mode 100644 index 0000000..5c297e1 --- /dev/null +++ b/zjstatus.kdl @@ -0,0 +1,75 @@ +layout { + default_tab_template { + children + pane size=1 borderless=true { + plugin location="https://github.com/dj95/zjstatus/releases/latest/download/zjstatus.wasm" { + format_left "{mode} #[fg=#89B4FA,bold]{session}" + format_center "{tabs}" + format_right "{command_git_branch} {datetime}" + format_space ""d + border_enabled "true" + border_char "─" + border_format "#[fg=#6C7086]{char}" + border_position "top" + + hide_frame_for_single_pane "true" + + mode_normal "#[bg=#eb06a2] {name} " + mode_tmux "#[bg=#ffc1b9] {name} " + + tab_normal "#[fg=#af0000] {name} " + tab_active "#[fg=#00ff00,bold,italic] {name} " + + command_git_branch_command "git rev-parse --abbrev-ref HEAD" + command_git_branch_format "#[fg=blue] {stdout} " + command_git_branch_interval "10" + command_git_branch_rendermode "static" + + datetime "#[fg=#ff9d00,bold] {format} " + datetime_format "%A, %d %b %Y %H:%M" + datetime_timezone "Europe/Prague" + + + // // formatting for inactive tabs + // tab_normal "#[fg=#6C7086] {index} :: {name} " + // tab_normal_fullscreen "#[fg=#6C7086] {index} :: {name} [] " + // tab_normal_sync "#[fg=#6C7086] {index} :: {name} <> " + + // // formatting for the current active tab + // tab_active "#[fg=#9399B2,bold,italic] {name} {floating_indicator}" + // tab_active_fullscreen "#[fg=#9399B2,bold,italic] {name} {fullscreen_indicator}" + // tab_active_sync "#[fg=#9399B2,bold,italic] {name} {sync_indicator}" + + // // separator between the tabs + // tab_separator "#[fg=#6C7086,bg=#181825] | " + + // // indicators + tab_sync_indicator "<> " + tab_fullscreen_indicator "[] " + tab_floating_indicator "⬚ " + + + // // mode_normal "#[bg=#89B4FA] {name} " + mode_locked "#[bg=#aa0000] {name} " + // mode_resize "#[bg=#89B4FA] {name} " + // mode_pane "#[bg=#89B4FA] {name} " + // mode_tab "#[bg=#89B4FA] {name} " + // mode_scroll "#[bg=#89B4FA] {name} " + // mode_enter_search "#[bg=#89B4FA] {name} " + // mode_search "#[bg=#89B4FA] {name} " + // mode_rename_tab "#[bg=#89B4FA] {name} " + // mode_rename_pane "#[bg=#89B4FA] {name} " + // mode_session "#[bg=#89B4FA] {name} " + // mode_move "#[bg=#89B4FA] {name} " + // mode_prompt "#[bg=#89B4FA] {name} " + // mode_tmux "#[bg=#ffc387] {name} " + + mode_default_to_mode "tmux" + + + + + } + } + } +}