Dotfiles/desktopenvs/hyprlua
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
..
CRT feat: add hyprlua config set and migrate hyprland envvars to dedicated file 2026-05-19 08:50:23 +02:00
Vencord feat: add hyprlua config set and migrate hyprland envvars to dedicated file 2026-05-19 08:50:23 +02:00
alacritty feat(terminals): deploy CyberQueer palette across kitty/alacritty everywhere 2026-07-20 10:01:35 +02:00
astal-menu feat(hyprlua): configurable/live-polled workspace layout picker in astal-menu 2026-07-24 15:14:30 +02:00
audio-panel fix(hyprlua): match notif/audio-panel theming to eww's violet/magenta look 2026-07-30 20:03:18 +02:00
audio-panel-theme fix(hyprlua): match notif/audio-panel theming to eww's violet/magenta look 2026-07-30 20:03:18 +02:00
btop feat: add hyprlua config set and migrate hyprland envvars to dedicated file 2026-05-19 08:50:23 +02:00
config-updater feat(hyprdrive,hyprlua): add supersonic-booster/audio-panel PipeWire mixer panel 2026-07-29 15:41:57 +02:00
dunst fix(niri): correct window opacity rules and align theming to CyberQueer palette 2026-06-01 17:37:11 +02:00
eww fix(hyprlua): match notif/audio-panel theming to eww's violet/magenta look 2026-07-30 20:03:18 +02:00
eww-nobattery feat(hyprdrive,hyprlua): add supersonic-booster/audio-panel PipeWire mixer panel 2026-07-29 15:41:57 +02:00
eww-touch fix(hyprlua): match notif/audio-panel theming to eww's violet/magenta look 2026-07-30 20:03:18 +02:00
greetd-regreet fix(greetd): give hyprlua its own plain greeter skin, separate from hyprdrive 2026-07-30 20:03:43 +02:00
greetd-tuigreet feat: add hyprlua config set and migrate hyprland envvars to dedicated file 2026-05-19 08:50:23 +02:00
gtk-3.0 feat(qt,gtk): overhaul theming — qt6ct style plugin, dark palette, GTK color-scheme 2026-05-19 13:43:13 +02:00
hypr feat(hyprlua,hyprdrive,niri): switch presence detection from webcam motion to FIDO key 2026-07-30 13:22:38 +02:00
kitty feat(hyprlua/kitty): finish the CyberQueer kitty theme 2026-07-20 08:56:52 +02:00
mnotifd fix(hyprlua): match notif/audio-panel theming to eww's violet/magenta look 2026-07-30 20:03:18 +02:00
mnotifd-theme fix(hyprlua): match notif/audio-panel theming to eww's violet/magenta look 2026-07-30 20:03:18 +02:00
mnotifhist fix(hyprlua): match notif/audio-panel theming to eww's violet/magenta look 2026-07-30 20:03:18 +02:00
mnotifhist-theme fix(hyprlua): match notif/audio-panel theming to eww's violet/magenta look 2026-07-30 20:03:18 +02:00
nwg-dock-hyprland feat: add hyprlua config set and migrate hyprland envvars to dedicated file 2026-05-19 08:50:23 +02:00
nwg-drawer feat: add hyprlua config set and migrate hyprland envvars to dedicated file 2026-05-19 08:50:23 +02:00
nwg-panel feat: add hyprlua config set and migrate hyprland envvars to dedicated file 2026-05-19 08:50:23 +02:00
scripts fix(hyprlua): fix the touchpad toggle keybind 2026-07-30 20:15:37 +02:00
spicetify feat: add hyprlua config set and migrate hyprland envvars to dedicated file 2026-05-19 08:50:23 +02:00
ulauncher feat: add hyprlua config set and migrate hyprland envvars to dedicated file 2026-05-19 08:50:23 +02:00
vicinae fix(hyprlua): theme and position vicinae correctly 2026-05-19 11:48:14 +02:00
walker feat: add hyprlua config set and migrate hyprland envvars to dedicated file 2026-05-19 08:50:23 +02:00
waybar chore: add inline comments across all modules and configs 2026-06-25 13:07:06 +02:00
wofi chore: add inline comments across all modules and configs 2026-06-25 13:07:06 +02:00
xfce4 feat: add hyprlua config set and migrate hyprland envvars to dedicated file 2026-05-19 08:50:23 +02:00
mimeapps.list feat: add hyprlua config set and migrate hyprland envvars to dedicated file 2026-05-19 08:50:23 +02:00