commit f58769c587e3d1bcf9586cf37f78dacc3655e050
parent f4e375fed53182e6d803268ca26474617b0f71a5
Author: Chris Bracken <chris@bracken.jp>
Date: Wed, 22 Apr 2020 09:51:03 -0700
Configure 'natural' mouse wheel scrolling in i3
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/.i3/config b/.i3/config
@@ -18,6 +18,9 @@ font pango:IPAGothic 12, DejaVu Sans Mono 10
# Use Japanese keyboard layout with caps-lock as control.
exec --no-startup-id setxkbmap -layout jp -option ctrl:nocaps
+# Use 'natural' mouse-wheel scrolling.
+exec --no-startup-id xmodmap -e "pointer = 1 2 3 5 4 6 7 8 9 10 11 12"
+
# The font above is very space-efficient, that is, it looks good, sharp and
# clear in small sizes. However, if you need a lot of unicode glyphs or
# right-to-left text rendering, you should instead use pango for rendering and