X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;f=states%2Ftmux%2Ffiles%2Fwm_copy;h=4e4750af167a458fd796409c3c3fe86af489b022;hb=bf414b48e94ca6e551138e70a13a9eac1413f2ff;hp=1ea6ef0e7eb200f7a799f3abbb2cd0904065e90f;hpb=47c858bd94e6c79e904f0adf91d20753ae10cadc;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