Add geminux-touchd multi-touch gesture daemon and st wheel scrollback

This commit is contained in:
Luxferre committed 2026-11-22 16:16:22 +02:00
1 parent 9db15e30ce
commit ba7b86e570
16 files changed
+877 -13

No files matched your search

+12
View File
@@ -32,6 +32,18 @@ In [src/dwm/config.h](file:///home/lux/proj/geminux/src/dwm/config.h), `MODKEY`
Touchscreen input is supported directly across XLibre (`libinput`), DWM tag/layout/close buttons (`>= 68px` top bar), `dmenu` items (`68px` rows), `st`, and all nine `libgemui` applications (scaled for `180 DPI` / `>= 1.85x`).
### Touchscreen multi-touch gestures
`geminux-touchd` intercepts raw XInput 2.2 touch sequences on the root window and provides universal X11 right-click, middle-click, and two-finger scroll without interfering with 1-finger tapping or dragging:
| Gesture | X11 action | Notes |
| --- | --- | --- |
| 1-finger tap or drag | Left-click (`Button1`) / drag | Native passthrough for taps, text selection, sliders, and `Mod4 + drag` window move |
| 2-finger tap | Right-click (`Button3`) | Quick context menus without moving the cursor first |
| 1-finger stationary hold (`0.5 s`) | Right-click (`Button3`) | Alternative single-handed right-click |
| 3-finger tap | Middle-click (`Button2`) | Pastes X11 primary selection in `st` and opens tabs/links in apps |
| 2-finger drag | Scroll wheel (`Button4`–`Button7`) | Natural vertical and horizontal scroll across X11 apps and `st` scrollback (set `GEMINUX_NATURAL_SCROLL=0` for classic wheel direction) |
## Unified theming via `.Xresources`
Geminux includes 21 unified `.xth` color themes under `~/.xthemes/` (copied from `/etc/skel/.xthemes/`). Switch themes either interactively with `geminux-themes` or from the terminal: