Compare commits

..

2 commits

Author SHA1 Message Date
Dmitry Voronin 92f9edf8f4 Sway : Configure pointer inputs. 2024-03-28 06:49:11 +03:00
Dmitry Voronin 7bd7ba028d Bash : Add Sway autostart. 2024-03-28 06:48:00 +03:00
2 changed files with 14 additions and 0 deletions

View file

@ -16,3 +16,8 @@ function bashrc() {
# Export all functions. # Export all functions.
export -f $(find_function | tr '\n' ' ') export -f $(find_function | tr '\n' ' ')
# Autostart Sway.
if [[ -z ${DISPLAY} ]] && [[ "$(tty)" = "/dev/tty1" ]]; then
exec sway
fi

View file

@ -11,3 +11,12 @@
# #
# You can get the names of your inputs by running: swaymsg -t get_inputs # You can get the names of your inputs by running: swaymsg -t get_inputs
# Read `man 5 sway-input` for more information about this section. # Read `man 5 sway-input` for more information about this section.
input type:pointer {
accel_profile flat
pointer_accel 0
dwt enabled
tap enabled
natural_scroll enabled
middle_emulation enabled
}