Add keyboard config for laptop.

This commit is contained in:
Sheldon Lee 2022-08-16 20:06:12 +08:00
parent 6a50246091
commit 4c7feb15ea

View File

@ -91,6 +91,11 @@ exec swayidle -w \
# #
input 1133:50503:Logitech_USB_Receiver accel_profile flat input 1133:50503:Logitech_USB_Receiver accel_profile flat
input 1133:16500:Logitech_G304 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 # 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. # Read `man 5 sway-input` for more information about this section.