]> git.friedersdorff.com Git - max/dotfiles.git/blobdiff - tmux/.tmux.conf
Use wl-copy and wl-paste to manage wayland clipboard
[max/dotfiles.git] / tmux / .tmux.conf
index f0c331b9c4655916c704d670cc3fe8365eed400c..a16b2beed6953652b17c66a29ed19f93845bf59c 100644 (file)
@@ -35,10 +35,15 @@ set -g mouse on
 # Dont rename windows (allows setting mail for instance)
 set -g allow-rename off
 
-# move x clipboard into tmux buffer
-bind C-p run "tmux set-buffer \"$(xclip -o)\""
-# move tmux copy buffer into x clipboard
-bind C-y run "tmux save-buffer - | xclip -i"
+## move x clipboard into tmux buffer
+#bind C-p run "tmux set-buffer \"$(xclip -o)\""
+## move tmux copy buffer into x clipboard
+#bind C-y run "tmux save-buffer - | xclip -i"
+
+#move wayland clipbord into tmux buffer
+bind C-p run "tmux set-buffer \"$(wl-paste)\""
+# move tmux copy buffer into wayland clipboard
+bind C-y run "tmux save-buffer - | wl-copy"