diff options
author | Amin Bandali <bandali@gnu.org> | 2018-10-20 15:55:06 -0400 |
---|---|---|
committer | Amin Bandali <bandali@gnu.org> | 2018-10-20 15:56:03 -0400 |
commit | 5b09427d4c2fb597f6b54aca5e83f2578e016b96 (patch) | |
tree | f1a0110cb4ebd6098012a0adb327603b1b99fdbf | |
parent | d36a69dcb9c2183fe938a9cfaae20b990e00cc4c (diff) | |
download | configs-5b09427d4c2fb597f6b54aca5e83f2578e016b96.tar.gz configs-5b09427d4c2fb597f6b54aca5e83f2578e016b96.tar.xz configs-5b09427d4c2fb597f6b54aca5e83f2578e016b96.zip |
[rc/sway] per host input config
-rw-r--r-- | rc.org | 72 |
1 files changed, 47 insertions, 25 deletions
@@ -3761,6 +3761,8 @@ insert_pass="Alt+n" #+end_src ** sway + +*** main :PROPERTIES: :header-args+: :tangle ~/.config/sway/config :END: @@ -3803,31 +3805,6 @@ exec swayidle \ resume 'swaymsg "output * dpms on"' \ before-sleep swaylock -### Input configuration - -input "1739:31251:DLL07BE:01_06CB:7A13_Touchpad" { - dwt enabled - tap enabled - natural_scroll enabled - middle_emulation enabled - click_method clickfinger -} - -input "2:7:SynPS/2_Synaptics_TouchPad" { - events disabled - dwt enabled - tap enabled - natural_scroll enabled - click_method clickfinger -} - -input "1:1:AT_Translated_Set_2_keyboard" { - repeat_delay 200 - repeat_rate 45 - xkb_layout us_ab,ir - xkb_options ctrl:nocaps,altwin:swap_alt_win,grp:shifts_toggle -} - ### Key bindings # @@ -4033,8 +4010,53 @@ font pango: DejaVu Sans Mono 9 # font pango: Liberation Mono 9 include /etc/sway/config.d/* +include ~/.config/sway/`hostname` + +#+end_src + +*** langa +:PROPERTIES: +:header-args+: :tangle ~/.config/sway/langa +:END: + +#+begin_src conf +input "2:7:SynPS/2_Synaptics_TouchPad" { + events disabled + dwt enabled + tap enabled + natural_scroll enabled + click_method clickfinger +} + +input "1:1:AT_Translated_Set_2_keyboard" { + repeat_delay 200 + repeat_rate 45 + xkb_layout us_ab,ir + xkb_options ctrl:nocaps,altwin:swap_alt_win,grp:shifts_toggle +} #+end_src +*** shemshak +:PROPERTIES: +:header-args+: :tangle ~/.config/sway/shemshak +:END: + +#+begin_src conf +input "1739:31251:DLL07BE:01_06CB:7A13_Touchpad" { + dwt enabled + 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 +} +#+end_src ** swaylock :PROPERTIES: :header-args+: :tangle ~/.config/swaylock/config |