This repository has been archived on 2024-03-28. You can view files and clone it, but cannot push or open issues or pull requests.
dotfiles/env/laptop/sway/config.d/main

20 lines
543 B
Plaintext

# TODO: setup displays (when docked for work?)
output eDP-1 res 1600x900 pos 0 0
exec libinput-gestures -c $HOME/.config/dotfiles/apps/de/libinput/sway-gestures.conf
exec swayidle -w timeout 300 'swaylock -f -c 000000' timeout 600 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' before-sleep 'swaylock -f -c 000000'
bindswitch lid:toggle exec swaylock
input type:touchpad {
dwt enabled
tap enabled
natural_scroll enabled
middle_emulation enabled
pointer_accel 0.33
}
input type:keyboard {
xkb_options ctrl:nocaps
}