From 1e4e1442d34d76ddb8c0e706eaef18f39c9bba64 Mon Sep 17 00:00:00 2001 From: Christophe Robillard Date: Tue, 18 Feb 2025 19:45:33 +0100 Subject: [PATCH] [sway] use caps lock as ctrl --- sway/config.d/keyboard.conf | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 sway/config.d/keyboard.conf diff --git a/sway/config.d/keyboard.conf b/sway/config.d/keyboard.conf new file mode 100644 index 0000000..223e0b5 --- /dev/null +++ b/sway/config.d/keyboard.conf @@ -0,0 +1,10 @@ +### Input configuration +# +# 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. + # xkb_options caps:ctrl_modifier +input type:keyboard { + xkb_layout "fr,us" + xkb_variant "azerty" + xkb_options caps:ctrl_modifier +}