From: Maximilian Friedersdorff Date: Tue, 22 Dec 2020 14:57:28 +0000 (+0000) Subject: Use display server agnostic clipboard manager X-Git-Url: https://git.friedersdorff.com/?a=commitdiff_plain;h=0e2c98996e74cdf5d079fc423e48c42194782342;p=max%2Fsaltfiles.git Use display server agnostic clipboard manager --- diff --git a/states/tmux/files/tmux.conf b/states/tmux/files/tmux.conf index 1afd5dc..1c5198a 100644 --- a/states/tmux/files/tmux.conf +++ b/states/tmux/files/tmux.conf @@ -41,9 +41,9 @@ set -g allow-rename off #bind C-y run "tmux save-buffer - | xclip -i" #move wayland clipbord into tmux buffer -bind C-p run "tmux set-buffer \"$(wl-paste)\"" +bind C-p run "tmux set-buffer \"$(wm_paste)\"" # move tmux copy buffer into wayland clipboard -bind C-y run "tmux save-buffer - | wl-copy > /dev/null" +bind C-y run "tmux save-buffer - | wm_copy"