From c34880ccec991d45e00bc2b1cd2b840a9b019cf7 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Tue, 28 Feb 2017 19:03:35 -0500 Subject: [PATCH] os/arch/.xprofile: fix running function --- os/arch/.xprofile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/os/arch/.xprofile b/os/arch/.xprofile index b646c084..2ea5bd21 100644 --- a/os/arch/.xprofile +++ b/os/arch/.xprofile @@ -3,7 +3,7 @@ export __GL_THREADED_OPTIMISATIONS=1 # Maybe start this daemon -running() { pgrep "$1" >/dev/null || "$@"; } +running() { pgrep "$1" >/dev/null; } run() { command -v "$1" >/dev/null || return running "$1" || "$@" @@ -34,8 +34,8 @@ run compton & # perdy effects + transparency # non-essentials run mpd & # music server run redshift & # screen temperature based on time-of-day -~/.bin/rsl.sh # resilio sync +run rslsync & # resilio sync # key agents -running ssh-agent || { ssh-agent -s | sed 's/^echo/#echo/' \> ~/.ssh/agentenv; } -running gpg-agent || { gpg-agent --daemon | sed 's/^echo/#echo/' \> ~/.gnupg/agentenv; } +running ssh-agent || { ssh-agent -s | sed 's/^echo/#echo/' >~/.ssh/agentenv; } +running gpg-agent || { gpg-agent --daemon | sed 's/^echo/#echo/' >~/.gnupg/agentenv; }