From efbcec20297ca3841bfd778e4d9f5a38f52d6b19 Mon Sep 17 00:00:00 2001 From: Olivier DOSSMANN Date: Sun, 22 Mar 2026 10:43:53 +0100 Subject: [PATCH] chore(sway): Add keyboard input change - use Verr. Num. by default --- .config/sway/config | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/.config/sway/config b/.config/sway/config index 9570a0c..c0ddde9 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -6,8 +6,6 @@ ### Variables # -# Logo key. Use Mod1 for Alt. -set $mod Mod4 # Home row direction keys, like vim set $left h set $down j @@ -59,17 +57,23 @@ output * bg /usr/share/backgrounds/sway/Sway_Wallpaper_Blue_1920x1080.png fill # Read `man 5 sway-input` for more information about this section. input type:touchpad { - dwt enabled - tap enabled - natural_scroll enabled - middle_emulation enabled + dwt enabled + tap enabled + natural_scroll enabled + middle_emulation enabled } -input type:keyboard { - xkb_layout "fr" - xkb_variant "oss" - xkb_options "grp:alt_space_toggle" +input * { + xkb_layout fr + xkb_variant oss + xkb_options grp:alt_space_toggle + xkb_numlock enabled + xkb_model pc105 } + +# Mod4 = Logo key. Use Mod1 for Alt. XF86Tools pour la touche en haut à droite du clavier, tout à gauche des 4 touches présentes +set $mod Mod4 + ### Key bindings # # Basics: