summaryrefslogtreecommitdiff
path: root/.xinitrc
diff options
context:
space:
mode:
authorUrbain Vaes <urbain@vaes.uk>2015-10-18 21:32:06 +0100
committerUrbain Vaes <urbain@vaes.uk>2015-10-18 21:32:06 +0100
commit6405a0c56d453dec7888bdbf5226fb24fc4ccb81 (patch)
tree261160cf5ff1062fc78f1abe6e3beec0b9b91f97 /.xinitrc
parent0edd762ec5f0b33e02fb6473dfea4e6fed54c498 (diff)
Add lines for synchronization of clipboards (from Khoi)
Diffstat (limited to '.xinitrc')
-rwxr-xr-x.xinitrc6
1 files changed, 5 insertions, 1 deletions
diff --git a/.xinitrc b/.xinitrc
index 72f2018..b1c813e 100755
--- a/.xinitrc
+++ b/.xinitrc
@@ -6,7 +6,7 @@ xset r rate 400 50
# Load key bindings
$HOME/bin/keyboard
-# Load Xresources to light colorscheme
+# Load Xresources to dark colorscheme
xrdb $HOME/.Xresources/dark
# Start gpg-agent
@@ -17,4 +17,8 @@ gpg-agent --daemon --enable-ssh-support \
feh --bg-fill --randomize /usr/share/backgrounds
+# Synchronise primary and clipboard
+autocutsel -fork &
+autocutsel -selection PRIMARY -fork &
+
exec i3