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

Only start autoculsel if it's installed

This commit is contained in:
Joe Groocock 2016-09-01 14:48:17 +01:00
parent b9a8ca1923
commit 562233d363

View File

@ -16,8 +16,10 @@ export _JAVA_OPTIONS="-Dawt.useSystemAAFontSettings=on -Dswing.defaultlaf=com.su
export QT_STYLE_OVERRIDE=GTK+
# Merge system clipboards
if which autocutsel &>/dev/null; then
autocutsel -fork &
autocutsel -selection PRIMARY -fork &
fi
if [ -z $SSH_AUTH_SOCK ]; then
eval `ssh-agent`