Skip to content

Latest commit

 

History

History
34 lines (29 loc) · 830 Bytes

README.md

File metadata and controls

34 lines (29 loc) · 830 Bytes

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.