mirror of
https://github.com/frebib/dotfiles.git
synced 2024-06-14 12:57:23 +00:00
Don't try to start autocutsel if there is no X session running
This commit is contained in:
parent
356f6ff6b0
commit
30cb9e69dc
2
.profile
2
.profile
@ -16,7 +16,7 @@ export _JAVA_OPTIONS="-Dawt.useSystemAAFontSettings=on -Dswing.defaultlaf=com.su
|
|||||||
export QT_STYLE_OVERRIDE=GTK+
|
export QT_STYLE_OVERRIDE=GTK+
|
||||||
|
|
||||||
# Merge system clipboards
|
# Merge system clipboards
|
||||||
if which autocutsel &>/dev/null; then
|
if ! [ -z $DISPLAY ] && which autocutsel &>/dev/null; then
|
||||||
autocutsel -fork &
|
autocutsel -fork &
|
||||||
autocutsel -selection PRIMARY -fork &
|
autocutsel -selection PRIMARY -fork &
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user