* 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>
5 lines
139 B
Bash
Executable File
5 lines
139 B
Bash
Executable File
#!/bin/bash
|
|
|
|
device=$(hyprctl devices -j | jq -r '[.touch[]?.name, .tablets[]?.name] | first // empty')
|
|
[[ -n $device ]] && echo "$device"
|