scripts

shell scripts
git clone git://git.bitsmanent.org/scripts
Log | Files | Refs | README

commit c99123a7a68b2509aa19f6583730711f03504d4a
parent e62ea5e97f3f94505e6db0ade5557ea228b1f135
Author: clamiax <smoppy@gmail.com>
Date:   Sun, 20 Sep 2015 14:16:58 +0200

Use -display for xmessage

Diffstat:
Macpi | 3+--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/acpi b/acpi @@ -10,8 +10,7 @@ warning() { pct="$1" L=" OK " - export DISPLAY=:0 - xmessage -center -buttons "$L" -default "$L" "WARNING: battery level is ${pct}%" & + xmessage -display :0 -center -buttons "$L" -default "$L" "WARNING: battery level is ${pct}%" & for i in $(seq 3) do