From 4c7feb15ea1d7cfad08015f62ea64995b15f9c4a Mon Sep 17 00:00:00 2001 From: Sheldon Lee Date: Tue, 16 Aug 2022 20:06:12 +0800 Subject: [PATCH] Add keyboard config for laptop. --- .config/sway/config | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.config/sway/config b/.config/sway/config index 6b618fa..7e9b415 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -91,6 +91,11 @@ exec swayidle -w \ # input 1133:50503:Logitech_USB_Receiver accel_profile flat input 1133:16500:Logitech_G304 accel_profile flat + input 1:1:AT_Translated_Set_2_keyboard { + xkb_layout "us" + xkb_variant "colemak" + xkb_options "caps:ctrl_modifier,altwin:swap_alt_win" + } # You can get the names of your inputs by running: swaymsg -t get_inputs # Read `man 5 sway-input` for more information about this section.