summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmin Bandali <amin@aminb.org>2018-07-22 10:49:28 -0400
committerAmin Bandali <amin@aminb.org>2018-07-22 10:49:28 -0400
commitfde01a87cc833126938913c1d48433eba585afef (patch)
tree98630c3ab81a31728df1ffb8e35b15a2cddf255f
parent373851f8fdfb24770f903d2226d7469171b62d1c (diff)
downloadconfigs-fde01a87cc833126938913c1d48433eba585afef.tar.gz
configs-fde01a87cc833126938913c1d48433eba585afef.tar.xz
configs-fde01a87cc833126938913c1d48433eba585afef.zip
[rc/sway] more input customizations
also, use sway-input's xkb_layout and xkb_options instead of env vars
-rw-r--r--rc.org4
1 files changed, 3 insertions, 1 deletions
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