Re: Share Code: Laptop Lid State

2013-12-05 Thread Adam Tauno Williams
On Tue, 2013-07-30 at 17:00 +0100, Chris Angelico wrote: > On Tue, Jul 30, 2013 at 3:06 PM, Devyn Collier Johnson > wrote: > > Aloha everyone! > >I attached a script that I thought I could share with everyone for your > > help. This Python3 script only works on Unix systems. It prints the cur

Re: Share Code: Laptop Lid State

2013-07-31 Thread Chris Angelico
On Wed, Jul 31, 2013 at 4:05 AM, Devyn Collier Johnson wrote: > > On 07/30/2013 12:00 PM, Chris Angelico wrote: >> >> On Tue, Jul 30, 2013 at 3:06 PM, Devyn Collier Johnson >> wrote: >>> >>> Aloha everyone! >>> >>> I attached a script that I thought I could share with everyone for >>> your >>

Re: Share Code: Laptop Lid State

2013-07-30 Thread Devyn Collier Johnson
On 07/30/2013 12:00 PM, Chris Angelico wrote: On Tue, Jul 30, 2013 at 3:06 PM, Devyn Collier Johnson wrote: Aloha everyone! I attached a script that I thought I could share with everyone for your help. This Python3 script only works on Unix systems. It prints the current state of the lid.

Re: Share Code: Laptop Lid State

2013-07-30 Thread Ian Kelly
On Jul 30, 2013 10:06 AM, "Chris Angelico" wrote: > > On Tue, Jul 30, 2013 at 3:06 PM, Devyn Collier Johnson > wrote: > > Aloha everyone! > > > >I attached a script that I thought I could share with everyone for your > > help. This Python3 script only works on Unix systems. It prints the curr

Re: Share Code: Laptop Lid State

2013-07-30 Thread Chris Angelico
On Tue, Jul 30, 2013 at 3:06 PM, Devyn Collier Johnson wrote: > Aloha everyone! > >I attached a script that I thought I could share with everyone for your > help. This Python3 script only works on Unix systems. It prints the current > state of the lid. This can be used to make a script that pe

Share Code: Laptop Lid State

2013-07-30 Thread Devyn Collier Johnson
Aloha everyone! I attached a script that I thought I could share with everyone for your help. This Python3 script only works on Unix systems. It prints the current state of the lid. This can be used to make a script that performs some action when the lid is closed or open. The script is li