From dd5fac9cc3e2f939c8a9af0a95cadc586915e1d9 Mon Sep 17 00:00:00 2001 From: 2hexed <2hexed@protonmail.com> Date: Fri, 9 Feb 2024 17:38:09 +0000 Subject: [PATCH] Update Uncommon-tips-&-tricks.md --- pages/Configuring/Uncommon-tips-&-tricks.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/pages/Configuring/Uncommon-tips-&-tricks.md b/pages/Configuring/Uncommon-tips-&-tricks.md index 26e8489..ba13f05 100644 --- a/pages/Configuring/Uncommon-tips-&-tricks.md +++ b/pages/Configuring/Uncommon-tips-&-tricks.md @@ -1,3 +1,13 @@ +# Touchpad state toggle + +If one wishes to toggle the state of the touchpad on the fly, they may do so via: + +```ini +bind=,XF86TouchpadToggle,exec,hyprctl keyword "device:TOUCHPAD-IDENTIFIER:enabled" true|false +``` + +Where `TOUCHPAD-IDENTIFIER` stands for the Identifier of the device (Eg. `syna0001:00-06cb:ce78-touchpad`). Identifier can be queried with `hyprctl devices`. + # Switchable keyboard layouts The easiest way to accomplish this is to set this using XKB settings, for example: