X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;f=states%2Ftmux%2Ffiles%2Fwm_copy;fp=states%2Ftmux%2Ffiles%2Fwm_copy;h=4e4750af167a458fd796409c3c3fe86af489b022;hb=95263bf9bc976ede0db6c8fd1b3d3ce4c79bcebd;hp=1ea6ef0e7eb200f7a799f3abbb2cd0904065e90f;hpb=e454d984f40d5e96b43f55520327f6e196db2cd9;p=max%2Fsaltfiles.git diff --git a/states/tmux/files/wm_copy b/states/tmux/files/wm_copy index 1ea6ef0..4e4750a 100644 --- a/states/tmux/files/wm_copy +++ b/states/tmux/files/wm_copy @@ -1,6 +1,6 @@ #!/bin/sh -if [[ $XDG_SESSION_TYPE == "wayland" ]]; then +if [ $XDG_SESSION_TYPE == "wayland" ]; then wl-copy < /dev/stdin > /dev/null else xclip -selection clipboard -i < /dev/stdin > /dev/null