[PR #77] [MERGED] Clipboard manager module #3291

Closed
opened 2026-05-22 23:55:23 +01:00 by JakeStanger · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/JakeStanger/ironbar/pull/77
Author: @JakeStanger
Created: 2/25/2023
Status: Merged
Merged: 2/28/2023
Merged by: @JakeStanger

Base: masterHead: feat/clipboard-manager


📝 Commits (5)

  • ca4fe42 feat(truncate): ability to set fixed length
  • d84139a refactor: general tidy up
  • 83a4916 docs(compiling): add info about build deps
  • 5bbe64b docs(clock): format table
  • 575d6cc feat: new clipboard manager module

📊 Changes

35 files changed (+1914 additions, -210 deletions)

View changed files

📝 Cargo.lock (+29 -14)
📝 Cargo.toml (+8 -1)
📝 README.md (+15 -2)
📝 docs/Compiling.md (+23 -0)
📝 docs/_Sidebar.md (+2 -1)
docs/modules/Clipboard.md (+93 -0)
📝 docs/modules/Clock.md (+4 -4)
📝 docs/modules/Focused.md (+9 -8)
📝 docs/modules/Music.md (+18 -17)
📝 examples/config.corn (+20 -5)
📝 examples/config.json (+9 -11)
📝 examples/config.toml (+9 -9)
📝 examples/config.yaml (+24 -36)
📝 src/bar.rs (+19 -3)
src/clients/clipboard.rs (+245 -0)
📝 src/clients/mod.rs (+2 -0)
📝 src/clients/wayland/client.rs (+200 -31)
📝 src/clients/wayland/mod.rs (+47 -25)
src/clients/wayland/wlr_data_control/device.rs (+88 -0)
src/clients/wayland/wlr_data_control/manager.rs (+253 -0)

...and 15 more files

📄 Description

Adds new clipboard manager widget, which shows recently copied text/images and allows you to re-copy them.

Currently only supports plain text, and most image types.

Known issue that large images cause an error when copied from the widget and then pasted into xwayland clients.

This is a bit rough around the edges but I am BORED of working on it, so I'll get it out in the open and polish it properly later™.

Resolves #8


🔄 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/JakeStanger/ironbar/pull/77 **Author:** [@JakeStanger](https://github.com/JakeStanger) **Created:** 2/25/2023 **Status:** ✅ Merged **Merged:** 2/28/2023 **Merged by:** [@JakeStanger](https://github.com/JakeStanger) **Base:** `master` ← **Head:** `feat/clipboard-manager` --- ### 📝 Commits (5) - [`ca4fe42`](https://github.com/JakeStanger/ironbar/commit/ca4fe422f22866748f2cb6239b31170a974d254b) feat(truncate): ability to set fixed length - [`d84139a`](https://github.com/JakeStanger/ironbar/commit/d84139a914f9b35054dc6048715e1ed7e79d7441) refactor: general tidy up - [`83a4916`](https://github.com/JakeStanger/ironbar/commit/83a49165c42fa793ef1224f93cbc147bc69de894) docs(compiling): add info about build deps - [`5bbe64b`](https://github.com/JakeStanger/ironbar/commit/5bbe64bb86fb2db0921e284a1560db2f6c1a1920) docs(clock): format table - [`575d6cc`](https://github.com/JakeStanger/ironbar/commit/575d6cc30f9e28079aed8425566048abd3d9e022) feat: new clipboard manager module ### 📊 Changes **35 files changed** (+1914 additions, -210 deletions) <details> <summary>View changed files</summary> 📝 `Cargo.lock` (+29 -14) 📝 `Cargo.toml` (+8 -1) 📝 `README.md` (+15 -2) 📝 `docs/Compiling.md` (+23 -0) 📝 `docs/_Sidebar.md` (+2 -1) ➕ `docs/modules/Clipboard.md` (+93 -0) 📝 `docs/modules/Clock.md` (+4 -4) 📝 `docs/modules/Focused.md` (+9 -8) 📝 `docs/modules/Music.md` (+18 -17) 📝 `examples/config.corn` (+20 -5) 📝 `examples/config.json` (+9 -11) 📝 `examples/config.toml` (+9 -9) 📝 `examples/config.yaml` (+24 -36) 📝 `src/bar.rs` (+19 -3) ➕ `src/clients/clipboard.rs` (+245 -0) 📝 `src/clients/mod.rs` (+2 -0) 📝 `src/clients/wayland/client.rs` (+200 -31) 📝 `src/clients/wayland/mod.rs` (+47 -25) ➕ `src/clients/wayland/wlr_data_control/device.rs` (+88 -0) ➕ `src/clients/wayland/wlr_data_control/manager.rs` (+253 -0) _...and 15 more files_ </details> ### 📄 Description Adds new clipboard manager widget, which shows recently copied text/images and allows you to re-copy them. Currently only supports plain text, and most image types. Known issue that large images cause an error when copied from the widget and then pasted into xwayland clients. This is a bit rough around the edges but I am BORED of working on it, so I'll get it out in the open and polish it properly later™. Resolves #8 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
JakeStanger 2026-05-22 23:55:23 +01: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
JakeStanger/ironbar#3291
No description provided.