From 5306998702459592cce107925a7461724da3de09 Mon Sep 17 00:00:00 2001 From: eoli3n Date: Tue, 7 Nov 2023 17:30:12 +0100 Subject: [PATCH] senpai start with wezterm, and never confirm wezterm close --- roles/sway/templates/config.j2 | 2 +- roles/wezterm/templates/wezterm.lua.j2 | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/roles/sway/templates/config.j2 b/roles/sway/templates/config.j2 index 63437d2..ddba3f2 100644 --- a/roles/sway/templates/config.j2 +++ b/roles/sway/templates/config.j2 @@ -224,7 +224,7 @@ exec dbus-update-activation-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=sway # variery exec variety & # irc client -exec swaymsg 'workspace $tag4; exec kitty bash -c "senpai"' +exec swaymsg 'workspace $tag4; exec wezterm start -- bash -c "senpai"' # waybar exec exec_always ~/.config/waybar/waybar.sh & # wob exec diff --git a/roles/wezterm/templates/wezterm.lua.j2 b/roles/wezterm/templates/wezterm.lua.j2 index f57b0e7..4090ace 100644 --- a/roles/wezterm/templates/wezterm.lua.j2 +++ b/roles/wezterm/templates/wezterm.lua.j2 @@ -51,5 +51,6 @@ config.colors = { config.window_background_opacity = 0.9 config.text_background_opacity = 1 +config.window_close_confirmation = 'NeverPrompt' config.hyperlink_rules = wezterm.default_hyperlink_rules() return config