aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvaskozl <vasil.zlatanov@gmail.com>2015-04-12 12:31:46 +0200
committervaskozl <vasil.zlatanov@gmail.com>2015-04-12 12:31:46 +0200
commit1eff16fe5b652c37f33b9f67da463f35391c6dce (patch)
tree621c2b2a4beff1d6834ea1562fea34bd5a2cd97e
parent8e18d2c0bf5a3feb8aa804e2e98794e5e1211bf9 (diff)
downloaddotfiles-1eff16fe5b652c37f33b9f67da463f35391c6dce.tar.gz
dotfiles-1eff16fe5b652c37f33b9f67da463f35391c6dce.tar.bz2
dotfiles-1eff16fe5b652c37f33b9f67da463f35391c6dce.zip
Synchronise the SELECTION and CLIPBOARD
-rwxr-xr-xxinitrc6
1 files changed, 5 insertions, 1 deletions
diff --git a/xinitrc b/xinitrc
index 1bdab34..007ba3b 100755
--- a/xinitrc
+++ b/xinitrc
@@ -24,6 +24,10 @@ if [ -d /etc/X11/xinit/xinitrc.d ]; then
unset f
fi
+# Make C-v always insert selection
+autocutsel -fork &
+autocutsel -selection PRIMARY -fork &
+~
# give cursor
xsetroot -cursor_name left_ptr
@@ -55,7 +59,7 @@ xset m 0 0
xset -b
# Launch locking program
-#xautolock -detectsleep -locker '~/.ratpoison/lock' -time 11 -corners 0-00 &
+xautolock -detectsleep -locker '~/.ratpoison/lock' -time 11 -corners 0-00 &
# Load xterm colors
xrdb -merge ~/.Xresources