mirror of
https://github.com/frebib/dotfiles.git
synced 2024-06-14 12:57:23 +00:00
profile: only start autocutsel if it's not running
This commit is contained in:
parent
e294810914
commit
423c9a7d01
2
.profile
2
.profile
@ -55,7 +55,7 @@ if [ -f "$CONFIG_DIR/secrets" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Merge system clipboards
|
# Merge system clipboards
|
||||||
if [ -n "$DISPLAY" ] && exists autocutsel; then
|
if [ -n "$DISPLAY" ] && exists autocutsel && ! pidof autocutsel 1>/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