From 47c858bd94e6c79e904f0adf91d20753ae10cadc Mon Sep 17 00:00:00 2001 From: Maximilian Friedersdorff Date: Mon, 7 Jun 2021 09:37:09 +0100 Subject: [PATCH] Use clipboard, not primary selection for tmux copy paste --- states/tmux/files/wm_copy | 2 +- states/tmux/files/wm_paste | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/states/tmux/files/wm_copy b/states/tmux/files/wm_copy index 44a802c..1ea6ef0 100644 --- a/states/tmux/files/wm_copy +++ b/states/tmux/files/wm_copy @@ -3,5 +3,5 @@ if [[ $XDG_SESSION_TYPE == "wayland" ]]; then wl-copy < /dev/stdin > /dev/null else - xclip -i < /dev/stdin > /dev/null + xclip -selection clipboard -i < /dev/stdin > /dev/null fi diff --git a/states/tmux/files/wm_paste b/states/tmux/files/wm_paste index f25a0d2..abf1385 100644 --- a/states/tmux/files/wm_paste +++ b/states/tmux/files/wm_paste @@ -3,5 +3,5 @@ if [[ XDG_SESSION_TYPE == "wayland" ]]; then wl-paste else - xclip -o + xclip -selection clipboard -o fi -- 2.46.2