diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5af3863..5e5f444 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,6 +15,9 @@ jobs: - uses: actions/setup-go@v5 with: go-version: stable + + - name: Install libx11-dev + run: apt install libx11-dev - name: Build run: go build -ldflags "-s -w" . diff --git a/README.md b/README.md index fecb856..17b2ecc 100644 --- a/README.md +++ b/README.md @@ -44,10 +44,12 @@ cd discordo go build . ``` -### Linux clipboard support +### Wayland clipboard support -- `xclip` or `xsel` for X11 (`apt install xclip`) -- `wl-clipboard` for Wayland (`apt install wl-clipboard`) +`x11-dev` is required for X11 clipboard compatibility: + +- Ubuntu: `sudo apt install xwayland` +- Arch Linux: `pacman -S xorg-xwayland` ## Usage