Skip to content

Instantly share code, notes, and snippets.

View waldolemmer's full-sized avatar

Waldo Lemmer waldolemmer

View GitHub Profile
@waldolemmer
waldolemmer / no-edge-palm-detection.patch
Created January 15, 2025 05:36
Disable edge palm detection on Linux (Wayland with libinput)
diff '--color=auto' -ru a/src/evdev-mt-touchpad.c b/src/evdev-mt-touchpad.c
--- a/src/evdev-mt-touchpad.c 2024-11-19 05:41:39.000000000 +0200
+++ b/src/evdev-mt-touchpad.c 2025-01-15 07:22:32.516557264 +0200
@@ -3354,40 +3354,7 @@
tp_init_palmdetect_edge(struct tp_dispatch *tp,
struct evdev_device *device)
{
- double width, height;
- struct phys_coords mm = { 0.0, 0.0 };
- struct device_coords edges;
@waldolemmer
waldolemmer / timetable.tex
Last active August 6, 2023 04:00
timetable.tex
\documentclass{article}
%\usepackage[paperheight=148.24mm, paperwidth=66.71mm, margin=0mm, heightrounded]
\usepackage[paperheight=134.06mm, paperwidth=63.5mm, margin=0mm, heightrounded]
{geometry}
\usepackage{xcolor}
\usepackage{fontspec}
\usepackage{graphicx}
\usepackage{multirow}
\usepackage{booktabs}