1
0
mirror of https://github.com/frebib/dotfiles.git synced 2024-06-14 12:57:23 +00:00

profile: remove negation in if statement

This commit is contained in:
Joe Groocock 2017-10-03 10:28:57 +01:00
parent 39887c9cd8
commit 519ee698bc
Signed by: frebib
GPG Key ID: E0B16BEACFBB6A86

View File

@ -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