diff --git a/home-manager/desktop/package-configs/plasma-desktop.nix b/home-manager/desktop/package-configs/plasma-desktop.nix index 4aa2f94..5d68046 100644 --- a/home-manager/desktop/package-configs/plasma-desktop.nix +++ b/home-manager/desktop/package-configs/plasma-desktop.nix @@ -8,7 +8,7 @@ "kaccess"."Toggle Screen Reader On and Off" = "Meta+Alt+S"; "kcm_touchpad"."Disable Touchpad" = "Touchpad Off"; "kcm_touchpad"."Enable Touchpad" = "Touchpad On"; - "kcm_touchpad"."Toggle Touchpad" = ["" "Touchpad Toggle" "Meta+Ctrl+Zenkaku Hankaku"]; + "kcm_touchpad"."Toggle Touchpad" = ["Touchpad Toggle" "Meta+Ctrl+Zenkaku Hankaku"]; "khotkeys"."{d03619b6-9b3c-48cc-9d9c-a2aadb485550}" = []; "kmix"."decrease_microphone_volume" = "Microphone Volume Down"; "kmix"."decrease_volume" = "Volume Down"; @@ -16,10 +16,10 @@ "kmix"."increase_microphone_volume" = "Microphone Volume Up"; "kmix"."increase_volume" = "Volume Up"; "kmix"."increase_volume_small" = "Shift+Volume Up"; - "kmix"."mic_mute" = ["" "Microphone Mute" "Meta+Volume Mute"]; + "kmix"."mic_mute" = ["Microphone Mute" "Meta+Volume Mute"]; "kmix"."mute" = "Volume Mute"; "ksmserver"."Halt Without Confirmation" = []; - "ksmserver"."Lock Session" = ["" "Meta+L" "Screensaver"]; + "ksmserver"."Lock Session" = ["Meta+L" "Screensaver"]; "ksmserver"."Log Out" = "Ctrl+Alt+Del"; "ksmserver"."Log Out Without Confirmation" = []; "ksmserver"."Reboot" = []; @@ -32,7 +32,7 @@ "kwin"."Decrease Opacity" = []; "kwin"."Edit Tiles" = "Meta+T"; "kwin"."Expose" = "Ctrl+F9"; - "kwin"."ExposeAll" = ["" "Ctrl+F10" "Launch (C)"]; + "kwin"."ExposeAll" = ["Ctrl+F10" "Launch (C)"]; "kwin"."ExposeClass" = "Ctrl+F7"; "kwin"."ExposeClassCurrentDesktop" = []; "kwin"."Grid View" = "Meta+G"; @@ -182,7 +182,7 @@ "kwin"."Window to Screen 6" = []; "kwin"."Window to Screen 7" = []; "kwin"."view_actual_size" = "Meta+0"; - "kwin"."view_zoom_in" = ["" "Meta++" "Meta+\x3d"]; + "kwin"."view_zoom_in" = "Meta++"; "kwin"."view_zoom_out" = "Meta+-"; "mediacontrol"."mediavolumedown" = []; "mediacontrol"."mediavolumeup" = []; @@ -204,7 +204,7 @@ "org_kde_powerdevil"."Sleep" = "Sleep"; "org_kde_powerdevil"."Toggle Keyboard Backlight" = "Keyboard Light On/Off"; "org_kde_powerdevil"."Turn Off Screen" = []; - "org_kde_powerdevil"."powerProfile" = ["" "Battery" "Meta+B"]; + "org_kde_powerdevil"."powerProfile" = ["Battery" "Meta+B"]; "plasmashell"."activate task manager entry 1" = "Meta+1"; "plasmashell"."activate task manager entry 10" = []; "plasmashell"."activate task manager entry 2" = "Meta+2"; @@ -233,33 +233,33 @@ "plasmashell"."switch to previous activity" = []; "plasmashell"."toggle do not disturb" = []; "services/org.kde.plasma-systemmonitor.desktop"."_launch" = "Ctrl+Esc"; - "services/org.kde.spectacle.desktop"."ActiveWindowScreenShot" = ["" "Meta+Print" "Ctrl+!"]; + "services/org.kde.spectacle.desktop"."ActiveWindowScreenShot" = ["Meta+Print" "Ctrl+!"]; "services/org.kde.spectacle.desktop"."CurrentMonitorScreenShot" = "Ctrl+#"; - "services/org.kde.spectacle.desktop"."FullScreenScreenShot" = ["" "Ctrl+$" "Shift+Print"]; + "services/org.kde.spectacle.desktop"."FullScreenScreenShot" = ["Ctrl+$" "Shift+Print"]; "services/org.kde.spectacle.desktop"."OpenWithoutScreenshot" = "Ctrl+^"; "services/org.kde.spectacle.desktop"."RecordRegion" = []; "services/org.kde.spectacle.desktop"."RecordScreen" = []; "services/org.kde.spectacle.desktop"."RecordWindow" = []; - "services/org.kde.spectacle.desktop"."RectangularRegionScreenShot" = ["" "Ctrl+@" "Meta+Shift+Print"]; - "services/org.kde.spectacle.desktop"."WindowUnderCursorScreenShot" = ["" "Meta+Ctrl+Print" "Ctrl+%"]; + "services/org.kde.spectacle.desktop"."RectangularRegionScreenShot" = ["Ctrl+@" "Meta+Shift+Print"]; + "services/org.kde.spectacle.desktop"."WindowUnderCursorScreenShot" = ["Meta+Ctrl+Print" "Ctrl+%"]; "services/org.kde.spectacle.desktop"."_launch" = "Print"; "services/services.org.kde.plasma-systemmonitor.desktop"."_launch" = "Ctrl+Esc"; - "services/services.org.kde.spectacle.desktop"."ActiveWindowScreenShot" = ["" "" "" "Meta+Print" "Ctrl+!"]; + "services/services.org.kde.spectacle.desktop"."ActiveWindowScreenShot" = ["" "" "" "" "Meta+Print" "Ctrl+!"]; "services/services.org.kde.spectacle.desktop"."CurrentMonitorScreenShot" = "Ctrl+#"; - "services/services.org.kde.spectacle.desktop"."FullScreenScreenShot" = ["" "" "" "Ctrl+$" "Shift+Print"]; + "services/services.org.kde.spectacle.desktop"."FullScreenScreenShot" = ["" "" "" "" "Ctrl+$" "Shift+Print"]; "services/services.org.kde.spectacle.desktop"."OpenWithoutScreenshot" = "Ctrl+^"; "services/services.org.kde.spectacle.desktop"."RecordWindow" = []; - "services/services.org.kde.spectacle.desktop"."RectangularRegionScreenShot" = ["" "" "" "Ctrl+@" "Meta+Shift+Print"]; - "services/services.org.kde.spectacle.desktop"."WindowUnderCursorScreenShot" = ["" "" "" "Meta+Ctrl+Print" "Ctrl+%"]; + "services/services.org.kde.spectacle.desktop"."RectangularRegionScreenShot" = ["" "" "" "" "Ctrl+@" "Meta+Shift+Print"]; + "services/services.org.kde.spectacle.desktop"."WindowUnderCursorScreenShot" = ["" "" "" "" "Meta+Ctrl+Print" "Ctrl+%"]; "services/services.org.kde.spectacle.desktop"."_launch" = "Print"; "services/services.services.org.kde.plasma-systemmonitor.desktop"."_launch" = "Ctrl+Esc"; - "services/services.services.org.kde.spectacle.desktop"."ActiveWindowScreenShot" = ["" "" "" "" "Meta+Print" "Ctrl+!"]; + "services/services.services.org.kde.spectacle.desktop"."ActiveWindowScreenShot" = ["" "" "" "" "" "Meta+Print" "Ctrl+!"]; "services/services.services.org.kde.spectacle.desktop"."CurrentMonitorScreenShot" = "Ctrl+#"; - "services/services.services.org.kde.spectacle.desktop"."FullScreenScreenShot" = ["" "" "" "" "Ctrl+$" "Shift+Print"]; + "services/services.services.org.kde.spectacle.desktop"."FullScreenScreenShot" = ["" "" "" "" "" "Ctrl+$" "Shift+Print"]; "services/services.services.org.kde.spectacle.desktop"."OpenWithoutScreenshot" = "Ctrl+^"; "services/services.services.org.kde.spectacle.desktop"."RecordWindow" = []; - "services/services.services.org.kde.spectacle.desktop"."RectangularRegionScreenShot" = ["" "" "" "" "Ctrl+@" "Meta+Shift+Print"]; - "services/services.services.org.kde.spectacle.desktop"."WindowUnderCursorScreenShot" = ["" "" "" "" "Meta+Ctrl+Print" "Ctrl+%"]; + "services/services.services.org.kde.spectacle.desktop"."RectangularRegionScreenShot" = ["" "" "" "" "" "Ctrl+@" "Meta+Shift+Print"]; + "services/services.services.org.kde.spectacle.desktop"."WindowUnderCursorScreenShot" = ["" "" "" "" "" "Meta+Ctrl+Print" "Ctrl+%"]; "services/services.services.org.kde.spectacle.desktop"."_launch" = "Print"; }; configFile = { @@ -269,8 +269,6 @@ "dolphinrc"."ExtractDialog"."1536x864 screen: Height" = 560; "dolphinrc"."ExtractDialog"."1536x864 screen: Width" = 1024; "dolphinrc"."ExtractDialog"."DirHistory[$e]" = "/home/"; - "dolphinrc"."ExtractDialog"."DirHistory\x5b$e\x5d" = "/home/"; - "dolphinrc"."General"."ConfirmClosingTerminalRunningProgram" = false; "dolphinrc"."General"."RememberOpenedTabs" = false; "dolphinrc"."IconsMode"."PreviewSize" = 80; "dolphinrc"."KFileDialog Settings"."Places Icons Auto-resize" = false; @@ -818,81 +816,45 @@ "khotkeysrc"."Data_3_9Triggers0"."GesturePointData" = "0,0.0625,-0.5,0.5,1,0.0625,0.0625,-0.5,0.5,0.875,0.125,0.0625,-0.5,0.5,0.75,0.1875,0.0625,-0.5,0.5,0.625,0.25,0.0625,-0.5,0.5,0.5,0.3125,0.0625,-0.5,0.5,0.375,0.375,0.0625,-0.5,0.5,0.25,0.4375,0.0625,-0.5,0.5,0.125,0.5,0.0625,0.5,0.5,0,0.5625,0.0625,0.5,0.5,0.125,0.625,0.0625,0.5,0.5,0.25,0.6875,0.0625,0.5,0.5,0.375,0.75,0.0625,0.5,0.5,0.5,0.8125,0.0625,0.5,0.5,0.625,0.875,0.0625,0.5,0.5,0.75,0.9375,0.0625,0.5,0.5,0.875,1,0,0,0.5,1"; "khotkeysrc"."Data_3_9Triggers0"."Type" = "GESTURE"; "khotkeysrc"."General"."AllowKDEAppsToRememberWindowPositions" = ""; - "khotkeysrc"."General"."AllowKDEAppsToRememberWindowPositions\x5b$d\x5d" = ""; "khotkeysrc"."General"."BrowserApplication" = ""; - "khotkeysrc"."General"."BrowserApplication\x5b$d\x5d" = ""; - "khotkeysrc"."General"."ColorSchemeHash\x5b$d\x5d" = ""; - "khotkeysrc"."General"."ColorScheme\x5b$d\x5d" = ""; "khotkeysrc"."Gestures"."Disabled" = true; "khotkeysrc"."Gestures"."MouseButton" = 2; "khotkeysrc"."Gestures"."Timeout" = 300; "khotkeysrc"."GesturesExclude"."Comment" = ""; "khotkeysrc"."GesturesExclude"."WindowsCount" = 0; - "khotkeysrc"."Icons"."Theme\x5b$d\x5d" = ""; "khotkeysrc"."KDE"."AnimationDurationFactor" = ""; - "khotkeysrc"."KDE"."AnimationDurationFactor\x5b$d\x5d" = ""; - "khotkeysrc"."KDE"."LookAndFeelPackage\x5b$d\x5d" = ""; "khotkeysrc"."KDE"."ShowDeleteCommand" = ""; - "khotkeysrc"."KDE"."ShowDeleteCommand\x5b$d\x5d" = ""; "khotkeysrc"."KDE"."SingleClick" = ""; - "khotkeysrc"."KDE"."SingleClick\x5b$d\x5d" = ""; "khotkeysrc"."KDE"."widgetStyle" = ""; - "khotkeysrc"."KDE"."widgetStyle\x5b$d\x5d" = ""; "khotkeysrc"."KFileDialog Settings"."Allow Expansion" = ""; - "khotkeysrc"."KFileDialog Settings"."Allow Expansion\x5b$d\x5d" = ""; "khotkeysrc"."KFileDialog Settings"."Automatically select filename extension" = ""; - "khotkeysrc"."KFileDialog Settings"."Automatically select filename extension\x5b$d\x5d" = ""; "khotkeysrc"."KFileDialog Settings"."Breadcrumb Navigation" = ""; - "khotkeysrc"."KFileDialog Settings"."Breadcrumb Navigation\x5b$d\x5d" = ""; "khotkeysrc"."KFileDialog Settings"."Decoration position" = ""; - "khotkeysrc"."KFileDialog Settings"."Decoration position\x5b$d\x5d" = ""; "khotkeysrc"."KFileDialog Settings"."LocationCombo Completionmode" = ""; - "khotkeysrc"."KFileDialog Settings"."LocationCombo Completionmode\x5b$d\x5d" = ""; "khotkeysrc"."KFileDialog Settings"."PathCombo Completionmode" = ""; - "khotkeysrc"."KFileDialog Settings"."PathCombo Completionmode\x5b$d\x5d" = ""; "khotkeysrc"."KFileDialog Settings"."Show Bookmarks" = ""; - "khotkeysrc"."KFileDialog Settings"."Show Bookmarks\x5b$d\x5d" = ""; "khotkeysrc"."KFileDialog Settings"."Show Full Path" = ""; - "khotkeysrc"."KFileDialog Settings"."Show Full Path\x5b$d\x5d" = ""; "khotkeysrc"."KFileDialog Settings"."Show Inline Previews" = ""; - "khotkeysrc"."KFileDialog Settings"."Show Inline Previews\x5b$d\x5d" = ""; "khotkeysrc"."KFileDialog Settings"."Show Preview" = ""; - "khotkeysrc"."KFileDialog Settings"."Show Preview\x5b$d\x5d" = ""; "khotkeysrc"."KFileDialog Settings"."Show Speedbar" = ""; - "khotkeysrc"."KFileDialog Settings"."Show Speedbar\x5b$d\x5d" = ""; "khotkeysrc"."KFileDialog Settings"."Show hidden files" = ""; - "khotkeysrc"."KFileDialog Settings"."Show hidden files\x5b$d\x5d" = ""; "khotkeysrc"."KFileDialog Settings"."Sort by" = ""; - "khotkeysrc"."KFileDialog Settings"."Sort by\x5b$d\x5d" = ""; "khotkeysrc"."KFileDialog Settings"."Sort directories first" = ""; - "khotkeysrc"."KFileDialog Settings"."Sort directories first\x5b$d\x5d" = ""; "khotkeysrc"."KFileDialog Settings"."Sort hidden files last" = ""; - "khotkeysrc"."KFileDialog Settings"."Sort hidden files last\x5b$d\x5d" = ""; "khotkeysrc"."KFileDialog Settings"."Sort reversed" = ""; - "khotkeysrc"."KFileDialog Settings"."Sort reversed\x5b$d\x5d" = ""; "khotkeysrc"."KFileDialog Settings"."Speedbar Width" = ""; - "khotkeysrc"."KFileDialog Settings"."Speedbar Width\x5b$d\x5d" = ""; "khotkeysrc"."KFileDialog Settings"."View Style" = ""; - "khotkeysrc"."KFileDialog Settings"."View Style\x5b$d\x5d" = ""; "khotkeysrc"."KShortcutsDialog Settings"."Dialog Size" = ""; - "khotkeysrc"."KShortcutsDialog Settings"."Dialog Size\x5b$d\x5d" = ""; "khotkeysrc"."Main"."AlreadyImported" = "defaults,kde32b1,konqueror_gestures_kde321"; "khotkeysrc"."Main"."Disabled" = false; "khotkeysrc"."PreviewSettings"."MaximumRemoteSize" = ""; - "khotkeysrc"."PreviewSettings"."MaximumRemoteSize\x5b$d\x5d" = ""; "khotkeysrc"."Voice"."Shortcut" = ""; "khotkeysrc"."WM"."activeBackground" = ""; - "khotkeysrc"."WM"."activeBackground\x5b$d\x5d" = ""; "khotkeysrc"."WM"."activeBlend" = ""; - "khotkeysrc"."WM"."activeBlend\x5b$d\x5d" = ""; "khotkeysrc"."WM"."activeForeground" = ""; - "khotkeysrc"."WM"."activeForeground\x5b$d\x5d" = ""; "khotkeysrc"."WM"."inactiveBackground" = ""; - "khotkeysrc"."WM"."inactiveBackground\x5b$d\x5d" = ""; "khotkeysrc"."WM"."inactiveBlend" = ""; - "khotkeysrc"."WM"."inactiveBlend\x5b$d\x5d" = ""; "khotkeysrc"."WM"."inactiveForeground" = ""; - "khotkeysrc"."WM"."inactiveForeground\x5b$d\x5d" = ""; "kiorc"."Confirmations"."ConfirmDelete" = true; "kiorc"."Confirmations"."ConfirmEmptyTrash" = true; "kiorc"."Confirmations"."ConfirmTrash" = false; @@ -931,13 +893,13 @@ "kwinrc"."Plugins"."diminactiveEnabled" = true; "kwinrc"."Plugins"."dimscreenEnabled" = true; "kwinrc"."Plugins"."wobblywindowsEnabled" = true; - "kwinrc"."Tiling"."padding" = 4; - "kwinrc"."Tiling.5242ae1a-0a81-5d7b-ba61-2512b597a159"."tiles" = "{\"layoutDirection\":\"horizontal\",\"tiles\":\x5b{\"width\":0.25},{\"width\":0.5},{\"width\":0.25}\x5d}"; - "kwinrc"."Tiling.57cc57cb-6089-56ec-afba-00ccd06d5508"."tiles" = "{\"layoutDirection\":\"horizontal\",\"tiles\":\x5b{\"width\":0.25},{\"width\":0.5},{\"width\":0.25}\x5d}"; - "kwinrc"."Tiling.5c337d24-acf0-5ac2-9082-ce9cb012bc2c"."tiles" = "{\"layoutDirection\":\"horizontal\",\"tiles\":\x5b{\"layoutDirection\":\"vertical\",\"tiles\":\x5b{\"height\":0.5,\"layoutDirection\":\"horizontal\",\"tiles\":\x5b{\"width\":0.5},{\"width\":0.5}\x5d},{\"height\":0.5,\"layoutDirection\":\"horizontal\",\"tiles\":\x5b{\"width\":0.5},{\"width\":0.5}\x5d}\x5d,\"width\":1}\x5d}"; - "kwinrc"."Tiling/5242ae1a-0a81-5d7b-ba61-2512b597a159"."tiles" = "{\"layoutDirection\":\"horizontal\",\"tiles\":\x5b{\"width\":0.25},{\"width\":0.5},{\"width\":0.25}\x5d}"; - "kwinrc"."Tiling/57cc57cb-6089-56ec-afba-00ccd06d5508"."tiles" = "{\"layoutDirection\":\"horizontal\",\"tiles\":\x5b{\"width\":0.25},{\"width\":0.5},{\"width\":0.25}\x5d}"; - "kwinrc"."Tiling/5c337d24-acf0-5ac2-9082-ce9cb012bc2c"."tiles" = "{\"layoutDirection\":\"horizontal\",\"tiles\":\x5b{\"layoutDirection\":\"vertical\",\"tiles\":\x5b{\"height\":0.5231481481481481,\"layoutDirection\":\"horizontal\",\"tiles\":\x5b{\"width\":0.4979166666666667},{\"width\":0.5020833333333333}\x5d},{\"height\":0.47685185185185075,\"layoutDirection\":\"horizontal\",\"tiles\":\x5b{\"width\":0.49895833333333334},{\"width\":0.5010416666666666}\x5d}\x5d,\"width\":1}\x5d}"; + "kwinrc"."Tiling"."padding" = 0; + "kwinrc"."Tiling.5242ae1a-0a81-5d7b-ba61-2512b597a159"."tiles" = "{\"layoutDirection\":\"horizontal\",\"tiles\":x5b{\"width\":0.25},{\"width\":0.5},{\"width\":0.25}x5d}"; + "kwinrc"."Tiling.57cc57cb-6089-56ec-afba-00ccd06d5508"."tiles" = "{\"layoutDirection\":\"horizontal\",\"tiles\":x5b{\"width\":0.25},{\"width\":0.5},{\"width\":0.25}x5d}"; + "kwinrc"."Tiling.5c337d24-acf0-5ac2-9082-ce9cb012bc2c"."tiles" = "{\"layoutDirection\":\"horizontal\",\"tiles\":x5b{\"layoutDirection\":\"vertical\",\"tiles\":x5b{\"height\":0.5,\"layoutDirection\":\"horizontal\",\"tiles\":x5b{\"width\":0.5},{\"width\":0.5}x5d},{\"height\":0.5,\"layoutDirection\":\"horizontal\",\"tiles\":x5b{\"width\":0.5},{\"width\":0.5}x5d}x5d,\"width\":1}x5d}"; + "kwinrc"."Tiling/5242ae1a-0a81-5d7b-ba61-2512b597a159"."tiles" = "{\"layoutDirection\":\"horizontal\",\"tiles\":x5b{\"width\":0.25},{\"width\":0.5},{\"width\":0.25}x5d}"; + "kwinrc"."Tiling/57cc57cb-6089-56ec-afba-00ccd06d5508"."tiles" = "{\"layoutDirection\":\"horizontal\",\"tiles\":x5b{\"width\":0.25},{\"width\":0.5},{\"width\":0.25}x5d}"; + "kwinrc"."Tiling/5c337d24-acf0-5ac2-9082-ce9cb012bc2c"."tiles" = "{\"layoutDirection\":\"horizontal\",\"tiles\":[{\"width\":0.5046875000000002},{\"width\":0.4953124999999998}]}"; "kwinrc"."Xwayland"."Scale" = 1; "kxkbrc"."Layout"."Options" = "compose:caps"; "kxkbrc"."Layout"."ResetOldOptions" = true; diff --git a/home-manager/shared/shell/zellij.nix b/home-manager/shared/shell/zellij.nix index 3835392..2affadd 100644 --- a/home-manager/shared/shell/zellij.nix +++ b/home-manager/shared/shell/zellij.nix @@ -8,58 +8,79 @@ pkgs.writeText "default.kdl" '' layout { - // pane size=1 borderless=true { - // plugin location="tab-bar" - //} + tab { + pane + } - pane size=1 borderless=true { - plugin location="file:${inputs.zjstatus.packages.${pkgs.system}.default}/bin/zjstatus.wasm" { - format_left "{mode} Zellij #[fg=yellow,bold]({session})" - format_center "{tabs}" - format_right "{command_git_branch} {datetime}" - format_space " " - - border_enabled "true" - border_char "─" - border_format "#[fg=green]{char}" - border_position "top" - - hide_frame_for_single_pane "false" - - mode_normal "#[bg=blue] " - mode_tmux "#[bg=blue] " - - // formatting for inactive tabs - tab_normal "#[fg=green] {index} :: {name} " - tab_normal_fullscreen "#[fg=green] {index} :: {name} [] " - tab_normal_sync "#[fg=green] {index} :: {name} <> " - - // formatting for the current active tab - tab_active "#[fg=white,bold,italic] {name} {floating_indicator}" - tab_active_fullscreen "#[fg=white,bold,italic] {name} {fullscreen_indicator}" - tab_active_sync "#[fg=white,bold,italic] {name} {sync_indicator}" - - // separator between the tabs - tab_separator "#[fg=green,bg=orange] | " - - // indicators - tab_sync_indicator "<> " - tab_fullscreen_indicator "[] " - tab_floating_indicator "⬚ " - - command_git_branch_command "git rev-parse --abbrev-ref HEAD" - command_git_branch_format "#[fg=yellow] {stdout} " - command_git_branch_interval "10" - command_git_branch_rendermode "static" - - datetime "#[fg=#yellow,bold] {format} " - datetime_format "%Y-%m-%d %H:%M" - datetime_timezone "Europe/Amsterdam" + swap_tiled_layout name="vertical" { + tab max_panes=5 { + pane split_direction="vertical" { + pane + pane { children; } + } + } + tab max_panes=8 { + pane split_direction="vertical" { + pane { children; } + pane { pane; pane; pane; pane; } + } + } + tab max_panes=12 { + pane split_direction="vertical" { + pane { children; } + pane { pane; pane; pane; pane; } + pane { pane; pane; pane; pane; } + } } } - pane - pane size=2 borderless=true { - plugin location="status-bar" + + swap_tiled_layout name="horizontal" { + tab max_panes=5 { + pane + pane + } + tab max_panes=8 { + pane { + pane split_direction="vertical" { children; } + pane split_direction="vertical" { pane; pane; pane; pane; } + } + } + tab max_panes=12 { + pane { + pane split_direction="vertical" { children; } + pane split_direction="vertical" { pane; pane; pane; pane; } + pane split_direction="vertical" { pane; pane; pane; pane; } + } + } + } + + default_tab_template { + pane size=1 borderless=true { + plugin location="file:${inputs.zjstatus.packages.${pkgs.system}.default}/bin/zjstatus.wasm" { + format_left "#[fg=#yellow,bold] {session} {mode} {tabs}" + format_right "#[bg=bg,fg=fg] #[bg=bg,fg=fg,bold]{datetime} #[bg=bg,fg=fg]" + + mode_locked "#[fg=magenta,bold] {name} " + mode_normal "#[fg=green,bold] {name} " + mode_resize "#[fg=orange,bold] {name} " + mode_default_to_mode "resize" + + tab_normal "#[bg=bg,fg=fg] #[bg=bg,fg=fg,bold]{name} {sync_indicator}{fullscreen_indicator}{floating_indicator} #[bg=white,fg=cyan]" + tab_active "#[bg=bg,fg=fg] #[bg=black,fg=yellow,bold]{name} {sync_indicator}{fullscreen_indicator}{floating_indicator} #[bg=white,fg=cyan]" + + tab_sync_indicator " " + tab_fullscreen_indicator "□ " + tab_floating_indicator "󰉈 " + + datetime "#[fg=#yellow,bold] {format} " + datetime_format "%Y-%m-%d %H:%M" + datetime_timezone "Europe/Amsterdam" + } + } + children + pane size=2 borderless=true { + plugin location="status-bar" + } } } '';