Dotfiles/desktopenvs
Amir Alexander Abdelbaki d5da519c9b fix(hyprlua): fix the touchpad toggle keybind
Two independent bugs, both silent no-ops:

1. hyprlua's hyprland.lua config is Lua-generated, not the classic hyprlang
   parser, so `hyprctl keyword device[...]:enabled ...` fails outright
   ("keyword can't work with non-legacy parsers. Use eval."). Switched to
   `hyprctl eval "hl.device({name=..., enabled=...})"`, the Lua API's
   live-reachable equivalent — same hl.* eval bridge eww's workspace
   switching already uses, and the same hl.device() block hyprland.lua
   itself uses at config-load time for per-device overrides.

2. The device name was hardcoded to a previous machine's touchpad
   ("synaptics-tm3053-009"), so even a working keyword/eval call would
   silently match nothing on this Framework 12's
   "pixa3854:...-touchpad". Resolve it dynamically from `hyprctl devices -j`
   instead.

Also renamed the copy-pasted enable_keyboard/disable_keyboard functions and
keyboard.status state file to match what this script actually toggles.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-30 20:15:37 +02:00
..
hyprdrive fix(greetd): give hyprlua its own plain greeter skin, separate from hyprdrive 2026-07-30 20:03:43 +02:00
hyprland feat(terminals): deploy CyberQueer palette across kitty/alacritty everywhere 2026-07-20 10:01:35 +02:00
hyprlua fix(hyprlua): fix the touchpad toggle keybind 2026-07-30 20:15:37 +02:00
niri feat(hyprlua,hyprdrive,niri): switch presence detection from webcam motion to FIDO key 2026-07-30 13:22:38 +02:00
sway feat(archiso): support fully bare Arch installs and fix greetd/DM conflicts 2026-07-13 12:08:13 +02:00
migrate-hyprland-to-hyprlua.sh refactor(hyprlua): move hypr-usr/ into hypr/usr/ and wire sysupdate sync 2026-06-11 15:46:01 +02:00