This repository has been archived on 2024-04-07. You can view files and clone it, but cannot push or open issues or pull requests.
dotfiles/dotfiles/sway/input

40 lines
871 B
Text
Raw Normal View History

2020-12-01 20:10:22 +01:00
# {{@@ header() @@}}
# _____ ____ _ _ _
# / __\ \ /\ / / _` | | | |
# \__ \\ V V / (_| | |_| |
# |___/ \_/\_/ \__,_|\__, |
# |___/
# Hide the mouse after 10 seconds
seat * hide_cursor 10000
2021-03-28 23:27:28 +02:00
seat * hide_cursor when-typing enable
2020-12-01 20:10:22 +01:00
input "type:touchpad" {
# Disable While Typing
dwt disabled
natural_scroll enabled
tap enabled
}
input * {
{%@@ if key_layout == "colemak" @@%}
2020-12-07 02:13:02 +01:00
xkb_layout "us(colemak),br,ru"
2020-12-01 20:10:22 +01:00
xkb_options "lv3:lsgt_switch,grp:shifts_toggle"
{%@@ elif key_layout == "dvorak" @@%}
xkb_layout "us(dvorak)"
2020-12-01 22:28:55 +01:00
xkb_options "caps:backspace"
{%@@ else @@%}
xkb_options "caps:backspace"
2020-12-01 20:10:22 +01:00
{%@@ endif @@%}
2020-12-01 22:28:55 +01:00
2020-12-01 20:10:22 +01:00
xkb_numlock enabled
2021-03-02 06:03:03 +01:00
repeat_rate 30
repeat_delay 200
2020-12-01 20:10:22 +01:00
}
2021-03-23 15:55:11 +01:00
{%@@ if key_layout == "colemak" @@%}
bindcode 91 exec 'wtype ,'
{%@@ endif @@%}
2020-12-01 20:30:44 +01:00
# vim: ft=i3