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 cmdOnce cfg.exec.once);
# Keyboard configuration
input."type:keyboard".repeat_delay = "300";
input."type:keyboard".repeat_rate = "50";
input."type:keyboard".xkb_options = "caps:swapescape";
input."type:keyboard".xkb_numlock = "enabled";
input."type:keyboard" = {
repeat_delay = "300";
repeat_rate = "50";
xkb_options = "caps:swapescape,compose:ralt";
xkb_numlock = "enabled";
};
# Touchpad
input."type:touchpad".click_method = "clickfinger";
input."type:touchpad".natural_scroll = "enabled";
input."type:touchpad".scroll_method = "two_finger";
input."type:touchpad".tap = "enabled";
input."type:touchpad".tap_button_map = "lrm";
input."type:touchpad" = {
click_method = "clickfinger";
natural_scroll = "enabled";
scroll_method = "two_finger";
tap = "enabled";
tap_button_map = "lrm";
};
}