~tardypad/dotfiles

758fecfcb8510fb64f3d71987abe266c8127710b — Damien Tardy-Panis 2 years ago dd15414
move sway xkb options to inputs config
2 files changed, 4 insertions(+), 1 deletions(-)

M packages/sway/config.d/inputs
M packages/zsh/zlogin
M packages/sway/config.d/inputs => packages/sway/config.d/inputs +4 -0
@@ 3,3 3,7 @@ input "2:7:SynPS/2_Synaptics_TouchPad" {
    tap enabled
    middle_emulation enabled
}

input "1:1:AT_Translated_Set_2_keyboard" {
    xkb_options caps:escape
}

M packages/zsh/zlogin => packages/zsh/zlogin +0 -1
@@ 20,7 20,6 @@ if [[ $(tty) = /dev/tty1 ]]; then

  # Automatically start sway after login on tty 1
  if [[ -z "${DISPLAY}" ]]; then
    export XKB_DEFAULT_OPTIONS=caps:escape
    exec sway &>> /var/log/sway/sway.log
  fi
fi