mirror of
https://codeberg.org/Mo8it/dotfiles.git
synced 2024-10-17 20:52:40 +00:00
Replace Kitty with Wezterm
This commit is contained in:
parent
213382aa99
commit
ae6d6581f3
4 changed files with 55 additions and 18 deletions
|
@ -29,6 +29,11 @@ name = "html"
|
|||
formatter = { command = "djlint", args = ["--reformat", "--quiet", "--preserve-blank-lines", "--format-css", "--format-js", "-"] }
|
||||
auto-format = true
|
||||
|
||||
[[language]]
|
||||
name = "lua"
|
||||
formatter = { command = "stylua", args = ["-"] }
|
||||
auto-format = true
|
||||
|
||||
[[language]]
|
||||
name = "julia"
|
||||
auto-format = true
|
||||
|
|
|
@ -1,12 +0,0 @@
|
|||
shell /home/mo/.cargo/bin/zellij
|
||||
|
||||
scrollback_lines 100000
|
||||
|
||||
hide_window_decorations yes
|
||||
|
||||
font_family JetBrainsMono Nerd Font Mono
|
||||
font_size 12.0
|
||||
|
||||
enable_audio_bell no
|
||||
|
||||
update_check_interval 0
|
|
@ -1,6 +0,0 @@
|
|||
layout vertical
|
||||
|
||||
launch fish -c "python ~/.scripts/update.py rpm-ostree"
|
||||
launch fish -c "python ~/.scripts/update.py flatpak"
|
||||
launch fish -c "python ~/.scripts/update.py cargo"
|
||||
launch fish -c "cd ~/servers/ansible && ansible-playbook playbooks/update.yml; read -P 'Enter'"
|
50
wezterm/wezterm.lua
Normal file
50
wezterm/wezterm.lua
Normal file
|
@ -0,0 +1,50 @@
|
|||
local wezterm = require("wezterm")
|
||||
local act = wezterm.action
|
||||
local mux = wezterm.mux
|
||||
|
||||
wezterm.on("gui-startup", function(cmd)
|
||||
local tab, pane, window = mux.spawn_window({ args = cmd.args })
|
||||
window:gui_window():maximize()
|
||||
end)
|
||||
|
||||
return {
|
||||
default_prog = { "/home/mo/.cargo/bin/zellij" },
|
||||
|
||||
disable_default_key_bindings = true,
|
||||
keys = {
|
||||
{ key = "V", mods = "SHIFT|CTRL", action = act.PasteFrom("Clipboard") },
|
||||
{ key = "_", mods = "SHIFT|CTRL", action = act.DecreaseFontSize },
|
||||
{ key = "*", mods = "SHIFT|CTRL", action = act.IncreaseFontSize },
|
||||
{ key = "=", mods = "SHIFT|CTRL", action = act.ResetFontSize },
|
||||
},
|
||||
|
||||
disable_default_mouse_bindings = true,
|
||||
mouse_bindings = {
|
||||
{
|
||||
event = { Up = { streak = 1, button = "Left" } },
|
||||
mods = "SHIFT",
|
||||
action = act.OpenLinkAtMouseCursor,
|
||||
},
|
||||
},
|
||||
|
||||
enable_tab_bar = false,
|
||||
|
||||
enable_scroll_bar = false,
|
||||
scrollback_lines = 0,
|
||||
|
||||
window_decorations = "RESIZE",
|
||||
window_padding = {
|
||||
left = "0cell",
|
||||
right = "0cell",
|
||||
top = "0cell",
|
||||
bottom = "0cell",
|
||||
},
|
||||
|
||||
audible_bell = "Disabled",
|
||||
|
||||
allow_win32_input_mode = false,
|
||||
|
||||
automatically_reload_config = false,
|
||||
|
||||
check_for_updates = false,
|
||||
}
|
Loading…
Reference in a new issue