ci: wayland compat

This commit is contained in:
ayn2op 2025-07-29 14:51:23 -04:00
parent f91e7d39b5
commit bf81ace245
2 changed files with 8 additions and 3 deletions

View file

@ -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" .

View file

@ -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