]> git.friedersdorff.com Git - max/saltfiles.git/blob - states/tmux/files/wm_copy
Expand wm_paste to cover wayland
[max/saltfiles.git] / states / tmux / files / wm_copy
1 #!/bin/sh
2
3 if [[ $XDG_SESSION_TYPE == "wayland" ]]; then
4     wl-copy < /dev/stdin > /dev/null
5 else
6     xclip -i < /dev/stdin > /dev/null
7 fi