[PR #421] [MERGED] Better clipboard support #756

Closed
opened 2026-03-02 23:49:41 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/aome510/spotify-player/pull/421
Author: @aome510
Created: 4/21/2024
Status: Merged
Merged: 4/21/2024
Merged by: @aome510

Base: masterHead: better-clipboard-support


📝 Commits (6)

  • 003f6de remove copy_command and paste_command config options
  • 67451f2 add which crate
  • f85e213 add event::clipboard module
  • 8f57774 integrate clipboard provider to handle copy/paste
  • a15548b add window clipboard
  • 912d394 fix lint for windows

📊 Changes

8 files changed (+233 additions, -121 deletions)

View changed files

📝 Cargo.lock (+44 -0)
📝 docs/config.md (+32 -40)
📝 examples/app.toml (+0 -7)
📝 spotify_player/Cargo.toml (+4 -0)
📝 spotify_player/src/config/mod.rs (+13 -36)
spotify_player/src/event/clipboard.rs (+121 -0)
📝 spotify_player/src/event/mod.rs (+8 -8)
📝 spotify_player/src/event/popup.rs (+11 -30)

📄 Description

Context for the PR: https://github.com/aome510/spotify-player/issues/393#issuecomment-2066613724

Breaking changes

  • remove copy_command and paste_command config options

Changes

  • add a logic to automatically determine clipboard provider based on user's environment
  • add which crate and clipboard-win crate (for windows)

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/aome510/spotify-player/pull/421 **Author:** [@aome510](https://github.com/aome510) **Created:** 4/21/2024 **Status:** ✅ Merged **Merged:** 4/21/2024 **Merged by:** [@aome510](https://github.com/aome510) **Base:** `master` ← **Head:** `better-clipboard-support` --- ### 📝 Commits (6) - [`003f6de`](https://github.com/aome510/spotify-player/commit/003f6ded71c2d3cd7aefcfa5c3f81ca211ac62c1) remove `copy_command` and `paste_command` config options - [`67451f2`](https://github.com/aome510/spotify-player/commit/67451f20eef1755f8ae5f4a88c7b870ce6f3dc8d) add `which` crate - [`f85e213`](https://github.com/aome510/spotify-player/commit/f85e21342b55b24b5d6cc5fa8d61472e8d18dafa) add `event::clipboard` module - [`8f57774`](https://github.com/aome510/spotify-player/commit/8f577748a0bd78a9066e3be937313c4b286f1709) integrate clipboard provider to handle copy/paste - [`a15548b`](https://github.com/aome510/spotify-player/commit/a15548b617ee1459449b7d1bad035fa00620f5fd) add window clipboard - [`912d394`](https://github.com/aome510/spotify-player/commit/912d394cea2e60fe13c5481964fd5f06739680a4) fix lint for windows ### 📊 Changes **8 files changed** (+233 additions, -121 deletions) <details> <summary>View changed files</summary> 📝 `Cargo.lock` (+44 -0) 📝 `docs/config.md` (+32 -40) 📝 `examples/app.toml` (+0 -7) 📝 `spotify_player/Cargo.toml` (+4 -0) 📝 `spotify_player/src/config/mod.rs` (+13 -36) ➕ `spotify_player/src/event/clipboard.rs` (+121 -0) 📝 `spotify_player/src/event/mod.rs` (+8 -8) 📝 `spotify_player/src/event/popup.rs` (+11 -30) </details> ### 📄 Description Context for the PR: https://github.com/aome510/spotify-player/issues/393#issuecomment-2066613724 ## Breaking changes - remove `copy_command` and `paste_command` config options ## Changes - add a logic to automatically determine clipboard provider based on user's environment - add `which` crate and `clipboard-win` crate (for windows) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-02 23:49:41 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/spotify-player#756
No description provided.