feat(sway): Set compose key to ralt

Make typing unicode characters easier
This commit is contained in:
Jalil David Salamé Messina 2024-02-24 16:19:00 +01:00
parent 06534dccd3
commit 5f1ffe3d35
Signed by: jalil
GPG key ID: F016B9E770737A0B

View file

@ -70,14 +70,18 @@ in
++ (builtins.map cmdAlways cfg.exec.always) ++ (builtins.map cmdAlways cfg.exec.always)
++ (builtins.map cmdOnce cfg.exec.once); ++ (builtins.map cmdOnce cfg.exec.once);
# Keyboard configuration # Keyboard configuration
input."type:keyboard".repeat_delay = "300"; input."type:keyboard" = {
input."type:keyboard".repeat_rate = "50"; repeat_delay = "300";
input."type:keyboard".xkb_options = "caps:swapescape"; repeat_rate = "50";
input."type:keyboard".xkb_numlock = "enabled"; xkb_options = "caps:swapescape,compose:ralt";
xkb_numlock = "enabled";
};
# Touchpad # Touchpad
input."type:touchpad".click_method = "clickfinger"; input."type:touchpad" = {
input."type:touchpad".natural_scroll = "enabled"; click_method = "clickfinger";
input."type:touchpad".scroll_method = "two_finger"; natural_scroll = "enabled";
input."type:touchpad".tap = "enabled"; scroll_method = "two_finger";
input."type:touchpad".tap_button_map = "lrm"; tap = "enabled";
tap_button_map = "lrm";
};
} }