From e42cbef66ca3fb27c4b0995a9094a9e2092709fd Mon Sep 17 00:00:00 2001
From: archos <archos@archoslinux.cz>
Date: Sun, 6 Apr 2025 19:04:30 +0200
Subject: [PATCH] =?UTF-8?q?P=C5=99id=C3=A1n=20soubor=20wezterm.lua?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Soubour obsahuje, má nastavení tohoto terminálu.
---
 wezterm.lua | 38 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)
 create mode 100644 wezterm.lua

diff --git a/wezterm.lua b/wezterm.lua
new file mode 100644
index 0000000..7a3c6d0
--- /dev/null
+++ b/wezterm.lua
@@ -0,0 +1,38 @@
+-- Pull in the wezterm API
+local wezterm = require("wezterm")
+
+-- This will hold the configuration.
+local config = wezterm.config_builder()
+
+-- This is where you actually apply your config choices
+
+config.color_scheme = "Dark Ocean (terminal.sexy)"
+
+config.font = wezterm.font("MesloLGS Nerd Font Mono")
+config.font_size = 12
+
+config.enable_tab_bar = false
+
+config.window_decorations = "RESIZE"
+
+config.window_background_opacity = 1.0
+config.keys = {
+	-- Přepínání mezi panely pomocí Alt + šipek
+	{ key = "LeftArrow", mods = "ALT", action = wezterm.action.ActivatePaneDirection("Left") },
+	{ key = "RightArrow", mods = "ALT", action = wezterm.action.ActivatePaneDirection("Right") },
+	{ key = "UpArrow", mods = "ALT", action = wezterm.action.ActivatePaneDirection("Up") },
+	{ key = "DownArrow", mods = "ALT", action = wezterm.action.ActivatePaneDirection("Down") },
+
+	-- Rozdělení panelu
+	{ key = "d", mods = "CTRL|SHIFT", action = wezterm.action.SplitHorizontal({}) },
+	{ key = "e", mods = "CTRL|SHIFT", action = wezterm.action.SplitVertical({}) },
+
+	-- Zavření panelu
+	{ key = "w", mods = "CTRL|SHIFT", action = wezterm.action.CloseCurrentPane({ confirm = true }) },
+
+	-- Nový tab
+	{ key = "t", mods = "CTRL", action = wezterm.action.SpawnTab("DefaultDomain") },
+}
+
+-- and finally, return the configuration to wezterm
+return config