chiark / gitweb /
xacpi-simple: (but no need to actually run it)
authorian <ian>
Sun, 12 Dec 2004 19:09:21 +0000 (19:09 +0000)
committerian <ian>
Sun, 12 Dec 2004 19:09:21 +0000 (19:09 +0000)
config
files/_.configs_xclients

diff --git a/config b/config
index d618ababab8e3ac8cbfd99c17e6bef28217abe82..54bf8c771b64f4e8daa6601b90f790b642086701 100644 (file)
--- a/config
+++ b/config
@@ -44,6 +44,7 @@ $ncipher= $hostname =~ m/\.(ncipher\.com$)/    ? 'cam' :
           0;
 
 $chiark=  $hostname =~ m/chiark/;
+$laptop=  $hostname =~ m/liberator|norway/;
 
 %ncipherdom= ('cam' => 'ncipher.com',
              'bos' => 'ncipherusa.com');
index b2d23f4f5bff6c9949fefdab48a18b595af92eb3..b33c5af8e7ec8880428dc40496311964944729e1 100755 (executable)
@@ -20,6 +20,12 @@ xterm -n 'xterm d' -T xterm -geometry 80x25+0-10 &
 .configs/chiarks
 @@;
 
+#@@?$laptop?@@
+#if test -d /proc/acpi/battery; then
+#      xacpi-simple &
+#fi
+#@@;
+
 @@?$ncipher?@@
 remoteshell -rrsh keynes -geometry 80x25+172+159 &
 @@;