#-*-mode: sh-*- # Configuration of acpi script # # Power button action # Default: "bash -c \"if ! xmessage -font huge -timeout 30 -buttons Cancel:0,Halt:1 -default Cancel -geometry +500+380 'Halt computer ?';then /sbin/shutdown -h -k now 'Power button'; sleep 10; /sbin/shutdown -h -k -t 5 now 'Halting machine'; fi\" &" POWER_BUTTON_ACTION="bash -c \"if ! xmessage -font huge -timeout 30 -buttons Cancel:0,Halt:1 -default Cancel -geometry +500+380 'Halt computer ?';then /sbin/shutdown -h -k now 'Power button'; sleep 10; /sbin/shutdown -h -t 5 now 'Halting machine'; elif ! xmessage -font huge -timeout 30 -buttons Cancel:0,Stop:1 -default Cancel -geometry +500+380 'Stop ACPI monitoring ?';then kill $$; fi\" &" # Lid closing action # Default: "/usr/local/sbin/hibernate" LID_ACTION="/usr/local/sbin/hibernate"