]> git.friedersdorff.com Git - max/saltfiles.git/blob - states/tmux/files/wm_paste
Use clipboard, not primary selection for tmux copy paste
[max/saltfiles.git] / states / tmux / files / wm_paste
1 #!/bin/sh
2
3 if [[ XDG_SESSION_TYPE == "wayland" ]]; then
4     wl-paste
5 else
6     xclip -selection clipboard -o
7 fi