mirror of
https://github.com/Rigellute/spotify-tui.git
synced 2026-04-26 08:05:57 +03:00
[PR #776] [CLOSED] feat: allow clipboard access under wayland #1030
Labels
No labels
bug
enhancement
good first issue
help wanted
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/spotify-tui#1030
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Rigellute/spotify-tui/pull/776
Author: @xanderio
Created: 3/31/2021
Status: ❌ Closed
Base:
master← Head:wayland-clipboard📝 Commits (1)
bc8837afeat: allow clipboard access under wayland📊 Changes
3 files changed (+496 additions, -81 deletions)
View changed files
📝
Cargo.lock(+436 -42)📝
Cargo.toml(+7 -1)📝
src/app.rs(+53 -38)📄 Description
The arbout crate is used to interact with the system clipboard. This
however imposes a dependency on xcb on the crate for Linux/Unix builds.
On a pure Wayland system this is undesirable as interaction with the
system clipboard via xcb in only possible if the user runs a xwayland
server. This cause spotify-cli to require a dependency to a x11 c lib
without providing any functionally to the user.
This change intoduces to new cargo features to spotify-cli:
x11andwayland.The
x11feature is the 'old' default feature and will preserve thecurrent application behavior.
The
waylandfeature will disable the dependency onto arboard and usewl-clipboard-rsto interact with the wayland clipboard via thedata_controlprotocol. This protocol is part of wlroots.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.