From 0f502088418ca228dc9c4eafeaeb260a91585375 Mon Sep 17 00:00:00 2001 From: Ryan Date: Mon, 6 May 2024 21:15:11 +0800 Subject: [PATCH] fix(kitty): Workaround sway's ime bug. See https://github.com/kovidgoyal/kitty/issues/7412 and https://github.com/swaywm/sway/issues/8143 --- .config/kitty/kitty.conf | 4 ++++ .config/sway/conf.d/theme | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.config/kitty/kitty.conf b/.config/kitty/kitty.conf index 7cbbef7..caf7890 100644 --- a/.config/kitty/kitty.conf +++ b/.config/kitty/kitty.conf @@ -40,3 +40,7 @@ map kitty_mod+enter new_window_with_cwd tab_bar_style fade tab_fade 0.00390625 0.0625 0.31640625 1 + +# See https://github.com/kovidgoyal/kitty/issues/7412 and https://github.com/swaywm/sway/issues/8143 + +wayland_enable_ime no diff --git a/.config/sway/conf.d/theme b/.config/sway/conf.d/theme index 70c9ca3..61c130c 100644 --- a/.config/sway/conf.d/theme +++ b/.config/sway/conf.d/theme @@ -8,7 +8,7 @@ bindswitch --reload --locked lid:on exec ~/.config/sway/scripts/lid_switch/lapto bindswitch --reload --locked lid:off exec ~/.config/sway/scripts/lid_switch/laptop_screen.sh enable #workspace_auto_back_and_forth yes -force_display_urgency_hint 500 ms +force_display_urgency_hint 1000 ms smart_borders no_gaps seat * xcursor_theme Adwaita