Update Uncommon-tips-&-tricks.md

This commit is contained in:
2hexed 2024-02-09 17:38:09 +00:00 committed by GitHub
parent 280c52769a
commit dd5fac9cc3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 10 additions and 0 deletions

View File

@ -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: