Update configs to use wezterm

This commit is contained in:
David Holland 2023-06-28 11:23:34 +02:00
parent c0b9b6bf1e
commit 41d0031f7e
Signed by: DustVoice
GPG key ID: 47068995A14EDCA9
3 changed files with 23 additions and 1 deletions

View file

@ -298,7 +298,7 @@ let-env config = {
use_ansi_coloring: true use_ansi_coloring: true
bracketed_paste: true # enable bracketed paste, currently useless on windows bracketed_paste: true # enable bracketed paste, currently useless on windows
edit_mode: vi # emacs, vi edit_mode: vi # emacs, vi
shell_integration: true # enables terminal markers and a workaround to arrow keys stop working issue shell_integration: false # enables terminal markers and a workaround to arrow keys stop working issue
render_right_prompt_on_last_line: false # true or false to enable or disable right prompt to be rendered on last line of the prompt. render_right_prompt_on_last_line: false # true or false to enable or disable right prompt to be rendered on last line of the prompt.
hooks: { hooks: {

1
.gitignore vendored
View file

@ -12,6 +12,7 @@
!/.tmux.conf !/.tmux.conf
!/.vim !/.vim
!/.vimrc !/.vimrc
!/.wezterm.lua
!/.xinitrc !/.xinitrc
!/.Xmodmap.example !/.Xmodmap.example
!/.xonshrc !/.xonshrc

21
.wezterm.lua Normal file
View file

@ -0,0 +1,21 @@
local wezterm = require 'wezterm'
local config = {}
if wezterm.config_builder then
config = wezterm.config_builder()
end
config.font = wezterm.font 'JetBrainsMono NF'
config.font_size = 13.0
config.color_scheme = 'Dracula (Official)'
config.default_prog = { 'nu' }
config.hide_tab_bar_if_only_one_tab = true
config.tab_bar_at_bottom = false
config.use_fancy_tab_bar = true
config.window_decorations = "TITLE | RESIZE"
return config