various fixes and improvements
[distro-setup] / filesystem / etc / X11 / Xsession.d / 98iank
index fa210235f5b9835cbbd7bd9367bf1b50ba55aec8..506e9bc3355f3315e44b0bf720637fef814a327a 100644 (file)
@@ -1,10 +1,10 @@
+#!/bin/bash
+
 # no screensaver for htpc machine
 if [[ $HOSTNAME != frodo ]]; then
-/usr/share/xscreensaver/xscreensaver-wrapper.sh &
+  /usr/share/xscreensaver/xscreensaver-wrapper.sh &
 fi
 
-/a/exe/lnf -T /p/arbtt-capture.log ~/.arbtt/capture.log
-
-# docs say a sample rate less than 20 is probably not worth the data cost,
-# but it seems pretty small to me
-arbtt-capture --sample-rate=10 &
+if [[ $HOSTNAME == $MAIL_HOST ]]; then
+  arbtt-capture --sample-rate=10 &
+fi