X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=filesystem%2Fetc%2FX11%2FXsession.d%2F98iank;h=506e9bc3355f3315e44b0bf720637fef814a327a;hb=f0a35267f28e274ef3c2f63ffc20a26ca864e37c;hp=fa210235f5b9835cbbd7bd9367bf1b50ba55aec8;hpb=87f900c44182d9175700349890c24440a740c121;p=distro-setup diff --git a/filesystem/etc/X11/Xsession.d/98iank b/filesystem/etc/X11/Xsession.d/98iank index fa21023..506e9bc 100644 --- a/filesystem/etc/X11/Xsession.d/98iank +++ b/filesystem/etc/X11/Xsession.d/98iank @@ -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