Add a toggle for touchscreen on supported devices (#5510)

* Add minimum brightness cap to prevent OLED displays turning off

* Revert "Add minimum brightness cap to prevent OLED displays turning off"

This reverts commit fe855ecf9aeacfa1b9ffcff3d43adb10908435e5.

* Add touchscreen toggle support

* Use finger glyph

---------

Co-authored-by: David Heinemeier Hansson <david@hey.com>
This commit is contained in:
N1R4andDavid Heinemeier Hansson authored and GitHub committed 2026-05-01 16:47:11 +02:00
1 parent c078d7ad05
commit cdb9694360
3 files changed
+38

No files matched your search

+4
View File
@@ -0,0 +1,4 @@
#!/bin/bash
device=$(hyprctl devices -j | jq -r '[.touch[]?.name, .tablets[]?.name] | first // empty')
[[ -n $device ]] && echo "$device"