diff options
| author | JP Appel <jeanpierre.appel01@gmail.com> | 2025-06-14 14:17:52 -0400 |
|---|---|---|
| committer | JP Appel <jeanpierre.appel01@gmail.com> | 2025-06-14 14:17:52 -0400 |
| commit | 3d94debbc557bcc0782e1a5bb5aa4db5d5426120 (patch) | |
| tree | 1fc4c21c19887864eed5a72590b3448567b29c74 /wezterm/wezterm.lua | |
| parent | e3f0382023daa8796150a0923c737beec6e72342 (diff) | |
Update wezterm config
Diffstat (limited to 'wezterm/wezterm.lua')
| -rw-r--r-- | wezterm/wezterm.lua | 27 |
1 files changed, 12 insertions, 15 deletions
diff --git a/wezterm/wezterm.lua b/wezterm/wezterm.lua index 928357c..28f4fcf 100644 --- a/wezterm/wezterm.lua +++ b/wezterm/wezterm.lua @@ -2,22 +2,24 @@ local wezterm = require 'wezterm' local config = wezterm.config_builder() +require('keybinds').apply_to_config(config) + +-- tab +config.use_fancy_tab_bar = false +config.hide_tab_bar_if_only_one_tab = true + +-- window appearnce +config.font_size = 12 config.window_padding = { left = 0, right = 0, top = 0, bottom = 0, } +config.window_background_opacity = 0.75 -config.font_size = 12 - --- tab -config.use_fancy_tab_bar = false -config.hide_tab_bar_if_only_one_tab = true - --- window scheme/appeance +-- colors require('colorscheme').apply_to_config(config) -config.window_background_opacity = 0.75 -- bell settings config.visual_bell = { @@ -27,14 +29,9 @@ config.visual_bell = { fade_out_duration_ms = 150, } -wezterm.on('bell', function(_, pane) +wezterm.on('bell', function(window, pane) if pane:has_unseen_output() then - os.execute(table.concat({ - "notify-send", "-a wezterm", - '"WezTerm: Bell Rung"', - '"' .. pane:get_title() .. '"', - }, " ") - ) + window:toast_notification("WezTerm: Bell Rung", pane:get_title()) end end) |
