Skip to content

Instantly share code, notes, and snippets.

@andrewvmail
Created August 20, 2023 05:00
Show Gist options
  • Save andrewvmail/cfebd366981929048e23ddd8241e51c1 to your computer and use it in GitHub Desktop.
Save andrewvmail/cfebd366981929048e23ddd8241e51c1 to your computer and use it in GitHub Desktop.
copyq.sh wayland ubuntu
#!/bin/bash
echo "running ydotoold ..."
sudo -b ydotoold --socket-path="$HOME/.ydotool_socket" --socket-own="$(id -u):$(id -g)"
echo "Running copyq..."
export YDOTOOL_SOCKET="$HOME/.ydotool_socket"
export QT_QPA_PLATFORM=xcb
copyq
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment