Skip to content

scripts to run on lg webos tv with button presses

License

Notifications You must be signed in to change notification settings

raybun/lginputhook-scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lginputhook-scripts

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

dependencies

https://github.com/Simon34545/lginputhook rooted lg webos tv, able to install homebrew

how to use

  • 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

example

/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.

included scripts

  • 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)

API reference

webOS open api reference

About

scripts to run on lg webos tv with button presses

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages