ci: wayland compat
This commit is contained in:
parent
f91e7d39b5
commit
bf81ace245
2 changed files with 8 additions and 3 deletions
3
.github/workflows/ci.yml
vendored
3
.github/workflows/ci.yml
vendored
|
|
@ -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" .
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue