scripts to run on lg webos tv with button presses, so you can e.g. adjust backlighting with one key and not have to wait for the atrociously slow settings menu
https://github.com/Simon34545/lginputhook rooted lg webos tv, able to install homebrew
- add to e.g. /home/root or wherever you can/want to host your input scripts
- make sure the script is marked as executable (chmod +x /path/to/script)
- tell
lginputhook
to execute a a script, giving it the full path
/bin/bash /home/root/energysavingswitcher.sh
set to execute and mapped to button code 399 will use the green button to cycle through energy saving settings.
- energysavingswitcher.sh - cycles between auto, low, mid, max screen energy saving modes
- backlightswitcher.sh - goes through backlight intensity in increments of 10 (round-robins at 100)
- eyecomfortswitcher.sh - toggles eye comfort mode (white balance shift to warmer colours for night-time)