From: Maximilian Friedersdorff Date: Thu, 26 Apr 2018 16:24:48 +0000 (+0100) Subject: Run Xscreensaver if it exists X-Git-Url: https://git.friedersdorff.com/?a=commitdiff_plain;h=ae77672b007904336b01b7ac9f097960a8c17484;p=max%2Fdotfiles.git Run Xscreensaver if it exists --- diff --git a/X/.xinitrc b/X/.xinitrc index 2f7d505..9e44c74 100644 --- a/X/.xinitrc +++ b/X/.xinitrc @@ -80,4 +80,9 @@ esac cat ~/.ratpoisonrc.base ~/.ratpoisonrc.$HOSTNAME > ~/.ratpoisonrc +# run xcreensaver +if [ -x $(which xscreensaver) ]; then + xscreensaver& +fi + exec /usr/bin/ratpoison