From b467917c95b407c38f8003b5699343845e6b1954 Mon Sep 17 00:00:00 2001 From: reo101 Date: Sun, 21 Jul 2024 17:47:55 +0300 Subject: [PATCH] feat(wezterm): disable bell --- modules/home-manager/reo101-wezterm/wezterm.fnl | 12 ++++++++++++ modules/home-manager/reo101-wezterm/wezterm.lua | 6 ++++++ 2 files changed, 18 insertions(+) diff --git a/modules/home-manager/reo101-wezterm/wezterm.fnl b/modules/home-manager/reo101-wezterm/wezterm.fnl index 0be91c6..a7ad8f7 100644 --- a/modules/home-manager/reo101-wezterm/wezterm.fnl +++ b/modules/home-manager/reo101-wezterm/wezterm.fnl @@ -16,6 +16,10 @@ :ss02 :ss03 :ss05 :ss07 :ss09 :zero]) +;;;;;;;;;;;;;;;;;;;;;; +;;; Window Options ;;; +;;;;;;;;;;;;;;;;;;;;;; + (doto config (tset :freetype_render_target :Light) (tset :window_background_opacity 0.8) @@ -31,6 +35,14 @@ :bottom 0}) (tset :adjust_window_size_when_changing_font_size false)) +;;;;;;;;;;;; +;;; Bell ;;; +;;;;;;;;;;;; + +(doto config + (tset :audible_bell :Disabled) + (tset :visual_bell {})) + ;;;;;;;;;;;;;;;; ;;; Keybinds ;;; ;;;;;;;;;;;;;;;; diff --git a/modules/home-manager/reo101-wezterm/wezterm.lua b/modules/home-manager/reo101-wezterm/wezterm.lua index 1729e39..59ffeb5 100644 --- a/modules/home-manager/reo101-wezterm/wezterm.lua +++ b/modules/home-manager/reo101-wezterm/wezterm.lua @@ -55,6 +55,12 @@ M.window_padding = { bottom = 0, } +----------- +-- Bell --- +----------- +M.audible_bell = "Disabled" +M.visual_bell = {} + ------------- -- Tab bar -- -------------