repo.or.cz
/
aur-mirror.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git]
/
acpi-eee1000
/
buttonblank.sh
blob
7d5c8fb415c0d5085c56aa71594972a6043e7c0f
1
#!/bin/bash
2
3
source
/
etc
/
acpi
/
eee.conf
4
source
/
etc
/
acpi
/
eee
/
user
&&
x_user_func
5
6
if
[
-n
"`/usr/bin/xset -display :0.0 -q | grep -e ' Monitor is Off'`"
]
7
then
8
xset
-display
:
0.0
dpms force on ||
exit
1
9
else
10
xset
-display
:
0.0
dpms force off ||
exit
1
11
fi
12
13
exit
0