From 41d0031f7e8680316d5a5da6171e8bf935d0cddb Mon Sep 17 00:00:00 2001 From: DustVoice Date: Wed, 28 Jun 2023 11:23:34 +0200 Subject: [PATCH] Update configs to use wezterm --- .config/nushell/config.nu | 2 +- .gitignore | 1 + .wezterm.lua | 21 +++++++++++++++++++++ 3 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 .wezterm.lua diff --git a/.config/nushell/config.nu b/.config/nushell/config.nu index 56690b2..d97c26e 100644 --- a/.config/nushell/config.nu +++ b/.config/nushell/config.nu @@ -298,7 +298,7 @@ let-env config = { use_ansi_coloring: true bracketed_paste: true # enable bracketed paste, currently useless on windows 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. hooks: { diff --git a/.gitignore b/.gitignore index fd57670..bf08f21 100644 --- a/.gitignore +++ b/.gitignore @@ -12,6 +12,7 @@ !/.tmux.conf !/.vim !/.vimrc +!/.wezterm.lua !/.xinitrc !/.Xmodmap.example !/.xonshrc diff --git a/.wezterm.lua b/.wezterm.lua new file mode 100644 index 0000000..fa7a17f --- /dev/null +++ b/.wezterm.lua @@ -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 \ No newline at end of file