From fde01a87cc833126938913c1d48433eba585afef Mon Sep 17 00:00:00 2001 From: Amin Bandali Date: Sun, 22 Jul 2018 10:49:28 -0400 Subject: [PATCH 1/1] [rc/sway] more input customizations also, use sway-input's xkb_layout and xkb_options instead of env vars --- rc.org | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/rc.org b/rc.org index ff1db79..3f39f97 100644 --- a/rc.org +++ b/rc.org @@ -3661,11 +3661,14 @@ input "1739:31251:DLL07BE:01_06CB:7A13_Touchpad" { tap enabled natural_scroll enabled middle_emulation enabled + click_method clickfinger } input "1:1:AT_Translated_Set_2_keyboard" { repeat_delay 200 repeat_rate 45 + xkb_layout us,ir + xkb_options ctrl:nocaps,altwin:swap_alt_win,ctrl:rctrl_ralt,grp:shifts_toggle } @@ -4840,7 +4843,6 @@ light -S $val :END: #+begin_src bash -export XKB_DEFAULT_OPTIONS=ctrl:nocaps,altwin:swap_alt_win,ctrl:rctrl_ralt export _JAVA_AWT_WM_NONREPARENTING=1 export _JAVA_OPTIONS='-Dawt.useSystemAAFontSettings=on -Dswing.aatext=true' light -Scrs "intel_backlight" 2 -- 2.20.1