Files
arthur-os/bin
DrunkLeenandGitHub d00b3ea24b feat: Add Touchpad toggle/on/off support (#5353)
* feat: add touchpad toggle keybinding and script

Binds XF86TouchpadToggle/On/Off to a new leenium-toggle-touchpad script
that enables/disables the touchpad via hyprctl and shows OSD feedback.

* fix: make XF86TouchpadOn/Off enforce state instead of toggling

Add on/off/toggle argument support to omarchy-toggle-touchpad.
XF86TouchpadOn now always enables and XF86TouchpadOff always disables,
so firmware that emits separate On/Off keysyms behaves correctly regardless
of current state. XF86TouchpadToggle retains the invert behavior.

* feat: add touchpad toggle to menu and persist state as hyprland config

- Show touchpad option in toggle menu only when a touchpad/trackpad device is detected
- Replace /tmp state file with a persistent hyprland device config at
~/.local/state/omarchy/toggles/hypr/touchpad-disabled.conf

* fix: avoid unsafe && || toggle logic for Touchpad state

Replace `[[ -f $STATE_CONF ]] && enable || disable` with an explicit if/else.
The previous logic was not a true ternary: if `enable` failed (e.g. OSD command error),
`disable` would run unintentionally, causing unreliable toggle behavior.
2026-04-22 12:59:43 +02:00
..
2026-03-02 14:15:46 +01:00
2026-03-02 14:15:46 +01:00
2026-02-26 10:13:36 +01:00
2026-03-26 09:23:59 +01:00
2026-03-26 09:23:59 +01:00
2026-04-15 10:00:49 +02:00
2026-02-21 14:18:35 +01:00
2026-02-25 21:44:08 -05:00
2026-01-05 10:53:24 +01:00
2026-01-05 10:53:24 +01:00
2026-01-05 10:53:24 +01:00
2026-02-25 21:44:08 -05:00
2026-02-20 17:57:26 -05:00
2026-02-09 23:01:46 +01:00
2025-09-15 19:04:11 +02:00
2026-04-17 15:35:36 +02:00
2026-02-28 15:06:16 +01:00
2026-01-31 21:51:18 +01:00