From 519ee698bca10394a3444fff85a387a2bc037439 Mon Sep 17 00:00:00 2001 From: Joe Groocock Date: Tue, 3 Oct 2017 10:28:57 +0100 Subject: [PATCH] profile: remove negation in if statement --- .profile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.profile b/.profile index cbc05ab..aceb2fe 100644 --- a/.profile +++ b/.profile @@ -23,7 +23,7 @@ if [ -f "$CONFIG_DIR/secrets" ]; then fi # Merge system clipboards -if ! [ -z $DISPLAY ] && which autocutsel &>/dev/null; then +if [ -n "$DISPLAY" ] && which autocutsel &>/dev/null; then autocutsel -fork & autocutsel -selection PRIMARY -fork & fi