News for hackers. Stuff that matters.
Re:With Firefox on X11, any page can pastejack you anytime (... by the_pwner224 on Saturday October 21, 2023 @01:06PM (#37968583)
> things it doesn't support like xclip

https://github.com/bugaevc/wl-clipboard

$ cat ~/bin/clip

    #!/bin/sh
    
    if [[ -z $WAYLAND_DISPLAY ]]; then
      xclip -selection clipboard
    else
      wl-copy
    fi

There are no comments on this comment yet.