Skip to content
/ ebsk Public

Environmental-light based Screen and Keyboard brightness

License

Notifications You must be signed in to change notification settings

sammy8806/ebsk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Environmental based Screen and Keyboard

I've tried to rebuild the auto-mode from osx (mostly for my own usage, but here it is ;-) )

Install

  • Simply start ;-)

ACPI Support

To activate ACPI support edit the /etc/acpi/handler.sh and add the matching actions

ACPI Actions

  • lidopen
  • lidclose

Example

   button/lid)
        case "$3" in
            close)
                logger 'LID closed'
                xset -display :0 dpms force off
                /home/sammy8806/work/ebsk/ebsk.py --acpi=lidclose
                ;;
            open)
                logger 'LID opened'
                /home/sammy8806/work/ebsk/ebsk.py --acpi=lidopen
                ;;
    esac
    ;;

License

(c) 2015 Steven Tappert Licensed under the MIT/X Consortium License. See LICENSE for details.

About

Environmental-light based Screen and Keyboard brightness

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages