From 697ed770cf7163fb7a54d6018b1b9aea614160dd Mon Sep 17 00:00:00 2001 From: Kankys Date: Thu, 21 Mar 2024 14:19:48 +0000 Subject: [PATCH] =?UTF-8?q?Nahr=C3=A1t=20soubory=20do=20=E2=80=9Elayouts?= =?UTF-8?q?=E2=80=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- layouts/.helix.kdl.kate-swp | Bin 0 -> 324 bytes layouts/helix.kdl | 15 ++++++++ layouts/layout_file.kdl | 30 +++++++++++++++ layouts/nvim.kdl | 15 ++++++++ layouts/zjstatus.kdl | 75 ++++++++++++++++++++++++++++++++++++ 5 files changed, 135 insertions(+) create mode 100644 layouts/.helix.kdl.kate-swp create mode 100644 layouts/helix.kdl create mode 100644 layouts/layout_file.kdl create mode 100644 layouts/nvim.kdl create mode 100644 layouts/zjstatus.kdl diff --git a/layouts/.helix.kdl.kate-swp b/layouts/.helix.kdl.kate-swp new file mode 100644 index 0000000000000000000000000000000000000000..44ef4606eb22457b178053e6b49938839a81a871 GIT binary patch literal 324 zcmZQzU=Z?7EJ;-eE>A2_aLdd|RWQ;sU|?Vnx%U6zt8x*E&@`qn&Bkb}UHkqjI|hdX zWtf4O)e}gt05J%#C;)*gSPmq_0+M3|NdN&<4yGI=&sLC_m#R<=G77}yLRKygG71Ee z^K)|(^HLO)GE#FgE0jQrK}L#$6te*_2naxwDkvltr57tG>48;&Bn3dK*g;BwfEA>w z)-^Z?$mRiy0L4HYZYW0p#NmQ+#6y7$9uUC|66OSAup>btTo6M*Vj#fc8VnNUbOiwY CYbY!L literal 0 HcmV?d00001 diff --git a/layouts/helix.kdl b/layouts/helix.kdl new file mode 100644 index 0000000..d6ffe1e --- /dev/null +++ b/layouts/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/layouts/layout_file.kdl b/layouts/layout_file.kdl new file mode 100644 index 0000000..fa3f634 --- /dev/null +++ b/layouts/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/layouts/nvim.kdl b/layouts/nvim.kdl new file mode 100644 index 0000000..c6d10b6 --- /dev/null +++ b/layouts/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/layouts/zjstatus.kdl b/layouts/zjstatus.kdl new file mode 100644 index 0000000..5c297e1 --- /dev/null +++ b/layouts/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" + + + + + } + } + } +}