]> git.friedersdorff.com Git - max/saltfiles.git/commitdiff
Use display server agnostic clipboard manager
authorMaximilian Friedersdorff <max@friedersdorff.com>
Tue, 22 Dec 2020 14:57:28 +0000 (14:57 +0000)
committerMaximilian Friedersdorff <max@friedersdorff.com>
Tue, 22 Dec 2020 14:57:28 +0000 (14:57 +0000)
states/tmux/files/tmux.conf

index 1afd5dc19a3743c1784c9c40eb441d272d6c87c7..1c5198af031e08ee7dfd3bf830012c9ecba33c40 100644 (file)
@@ -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"