Commit graph

197 commits

Author SHA1 Message Date
raf
b71801f7df
Merge pull request #44 from NotAShelf/dependabot/cargo/clap-4.5.50
build(deps): bump clap from 4.5.49 to 4.5.50
2025-10-28 13:03:05 +03:00
dependabot[bot]
9fc118a924
build(deps): bump clap from 4.5.49 to 4.5.50
Bumps [clap](https://github.com/clap-rs/clap) from 4.5.49 to 4.5.50.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.5.49...clap_complete-v4.5.50)

---
updated-dependencies:
- dependency-name: clap
  dependency-version: 4.5.50
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-28 09:54:29 +00:00
raf
5a71640e5f
Merge pull request #43 from NotAShelf/notashelf/push-rnnzunzyvynn
multicall: cleanup; match wl-copy/wl-paste interfaces more closely
2025-10-28 12:53:05 +03:00
d59ac77b9f
stash: utilize clap for multicall functionality; simplify CLI handler
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I84d9f46bb9bba0e893aa4f99d6ff48f76a6a6964
2025-10-28 12:40:17 +03:00
43a3aae496
docs: add attributions section; detail remaining sections
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: Ice462ee8fc34e375a01940b6b013f5496a6a6964
2025-10-28 12:40:13 +03:00
c95d9a4567
chore: remove unused deps; format with taplo
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: If575be0b2c6f1f8b8eac6cacaa2784606a6a6964
2025-10-27 11:11:14 +03:00
78acc38044
multicall: cleanup; modularize
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I658f22fdf983777354a5beb32df631916a6a6964
2025-10-27 11:11:13 +03:00
e94d931e67
chore: remove redundant unix check in build wrapper
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I174857e67f2e400d5dfdd8bfbe7c681d6a6a6964
2025-10-27 11:10:57 +03:00
955a5d51f8
multicall: cleanup; match wl-copy/wl-paste interfaces more closely
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I8cc05c0141cccff8378ef4fd83ccf77d6a6a6964
2025-10-25 08:38:53 +03:00
7a4f6378e9
nix: build with the mold linker on x86_64-linux
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I5d1e28f9b74fe1a4881a7105722ef3376a6a6964
2025-10-25 08:37:21 +03:00
d3911dd81a
nix: add NixOS module
Closes #3

Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I6a6a6964ecdb3bf1e5f7e2b902713eb8d2755ad1
2025-10-23 15:10:46 +03:00
b50702480f
meta: rename 'vendor' to contrib; don't vendor service in Nix derivation
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I6a6a696479e976a7f4db18e6501e347a4940ce28
2025-10-23 15:10:45 +03:00
a9da424e70
chore: release v0.3.2 v0.3.2
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I6a6a6964fc36c56f505e7a679727e1f4f7d7095c
2025-10-14 08:48:50 +03:00
0a8fda66a0
chore: bump dependencies
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I6a6a6964fc9d82b2ca85798ea4dda196e0a25e33
2025-10-14 08:48:49 +03:00
a94ef7f5b4
nix: install multicall binaries in postInstall
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I6a6a69646b6afeb1d9dda8d16e00f6f39b8046ff
2025-10-14 08:48:45 +03:00
a59e207e76
ci: trigger Nix cache action more often
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I6a6a696463b203052b421a924fb85885fc34752b
2025-10-09 16:42:40 +03:00
raf
7f6949b001
Merge pull request #39 from NotAShelf/notashelf/push-vtwowuvxsnos
stash: add multicall support for stash-copy and stash-paste
2025-10-09 15:04:27 +03:00
c2427c138a
docs: mention multicall exports
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I6a6a6964c5f2d863774a214ab54bc17caa7c9bbb
2025-10-09 14:58:34 +03:00
78fa23a764
multicall: remove program name prefixes from log and error messages
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I6a6a6964f65a0f1e473a50abfa985365ad8f1fa1
2025-10-09 14:44:45 +03:00
6496d3963d
stash: add multicall support for stash-copy and stash-paste
We can finally tell the users that they can uninstall `wl-copy` and
`wl-paste` on their systems. Stash now somewhat supports being invoked
under the names `stash-copy` and `stash-paste` to fully reimplement the
functionality of `wl-copy` and `wl-paste` respectively.

A build wrapper has been added generate symlinks for `stash-copy`, `stash-paste`,
`wl-copy`, and `wl-paste`. `wl-copy` and `wl-paste` links are provided
only for backwards compatibility, but they will not go away anytime
soon.

Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I6a6a6964463b35427cb720fbab68b252944cc90c
2025-10-09 14:40:54 +03:00
raf
74f9374a4e
Merge pull request #38 from NotAShelf/notashelf/push-xmznywpywuqo
list: add clipboard actions for delete and  copy; notify
2025-10-09 14:22:06 +03:00
f8440926b1
list: log clipboard copy errors and update notification message
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I6a6a69649bdd37a44f254d520e33a54634958ada
2025-10-09 11:45:37 +03:00
d8b1ac1f37
list: properly error notification if clipboard copy fails
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I6a6a696459d7fbc344545daeead6164cad5cde6f
2025-10-09 11:45:36 +03:00
4c0782f80e
list: add clipboard actions for delete and copy; notify
This adds an optional dependency on notify-rust, which we use to display
notifications when an entry is deleted or copied. If the user thinks a
TUI using desktop notifications is *not* desirable, it can be disabled
with the `notifications` feature flag.

We now support copying entries to the clipboard with `Enter` and
deleting entries with `Shift+D`. Both of those will show notifications.

Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I6a6a69642d0c13a1359b3b51125cc4b691cd5679
2025-10-09 11:08:50 +03:00
514572b804
nix: add a 'stash' package alias
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I6a6a69644d284206d2502da6f21997293fecd784
2025-10-09 09:19:05 +03:00
raf
dd4a9b5894
Merge pull request #36 from NotAShelf/dependabot/cargo/serde-1.0.228
build(deps): bump serde from 1.0.226 to 1.0.228
2025-09-30 12:45:40 +03:00
dependabot[bot]
3d0810c824
build(deps): bump serde from 1.0.226 to 1.0.228
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.226 to 1.0.228.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.226...v1.0.228)

---
updated-dependencies:
- dependency-name: serde
  dependency-version: 1.0.228
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-29 18:59:20 +00:00
raf
91be1ad241
Merge pull request #34 from NotAShelf/dependabot/cargo/thiserror-2.0.17
build(deps): bump thiserror from 2.0.16 to 2.0.17
2025-09-29 21:52:49 +03:00
raf
0a803a6a40
Merge pull request #35 from NotAShelf/dependabot/cargo/regex-1.11.3
build(deps): bump regex from 1.11.2 to 1.11.3
2025-09-29 21:52:40 +03:00
dependabot[bot]
23d585a34c
build(deps): bump regex from 1.11.2 to 1.11.3
Bumps [regex](https://github.com/rust-lang/regex) from 1.11.2 to 1.11.3.
- [Release notes](https://github.com/rust-lang/regex/releases)
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/regex/compare/1.11.2...1.11.3)

---
updated-dependencies:
- dependency-name: regex
  dependency-version: 1.11.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-29 18:41:27 +00:00
dependabot[bot]
b847460b3c
build(deps): bump thiserror from 2.0.16 to 2.0.17
Bumps [thiserror](https://github.com/dtolnay/thiserror) from 2.0.16 to 2.0.17.
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](https://github.com/dtolnay/thiserror/compare/2.0.16...2.0.17)

---
updated-dependencies:
- dependency-name: thiserror
  dependency-version: 2.0.17
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-29 18:39:49 +00:00
raf
868a4c7fca
Merge pull request #32 from NotAShelf/dependabot/cargo/clap-4.5.48
build(deps): bump clap from 4.5.47 to 4.5.48
2025-09-23 11:01:02 +03:00
raf
4c36496a47
Merge pull request #33 from NotAShelf/dependabot/cargo/serde-1.0.226
build(deps): bump serde from 1.0.224 to 1.0.226
2025-09-23 11:00:38 +03:00
dependabot[bot]
8c95ec6051
build(deps): bump serde from 1.0.224 to 1.0.226
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.224 to 1.0.226.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.224...v1.0.226)

---
updated-dependencies:
- dependency-name: serde
  dependency-version: 1.0.226
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-22 14:44:58 +00:00
dependabot[bot]
556e7d2ba1
build(deps): bump clap from 4.5.47 to 4.5.48
Bumps [clap](https://github.com/clap-rs/clap) from 4.5.47 to 4.5.48.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.5.47...clap_complete-v4.5.48)

---
updated-dependencies:
- dependency-name: clap
  dependency-version: 4.5.48
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-22 14:44:46 +00:00
a70c7d7014
ci: add the missing nix installation step for release workflow v0.3.1
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I6a6a6964d99e447844d397624ae79d26e6e81817
2025-09-19 14:13:17 +03:00
301a678f56
chore: release v0.3.1
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I6a6a69646a11adf5dcf39f6caa79390d13662bfe
2025-09-19 14:08:16 +03:00
a41d72fb6b
stash: refactor error handling and entry deduplication
This includes breaking changes to the database entries, where we have
started deduplicating based on hashes instead of full entries. Entry
collisions are possible, but highly unlikely.

Additionally we use `Box<str>` for error variants to reduce allocations.
This is *yet* to give me a non-marginal performance benefit but doesn't
hurt to be more correct.

Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I6a6a6964d0a33392da61372214ca3088551564ac
2025-09-19 14:08:15 +03:00
d05ad311a9
wayland: remove closed toplevels on event
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I6a6a69644f5e067b3533a7f62c42d4a6d01be00b
2025-09-19 14:08:14 +03:00
acb6657e73
chore: release crate to "stash-clipboard"
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I6a6a69640a8b0ccc2d8bb11181c9fdeb1397c329
2025-09-19 14:08:13 +03:00
f40e11195c
chore: add missing description field to crate manifest
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I6a6a696432a624912508f46fae70a66783e0f7fe
2025-09-19 11:32:46 +03:00
e92cdc444d
chore: release v0.3.0
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I6a6a69648f92f658da9ff14bd5e7d864b6cc6584
2025-09-19 11:28:22 +03:00
7857dc2d2d
ci: tag releases automatically
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I6a6a6964dc061848bfbda520a4e311c3f9558557
2025-09-19 11:25:58 +03:00
2bbd8d11c2
docs: describe new app exclusion feature
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I6a6a696479a0c3a1e302b3abb1cfab4d95ae5b11
2025-09-19 11:22:59 +03:00
36c183742d
stash: blocking persistent entries by window class
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I6a6a6964061bd97b4ffc4e84d835072331a966c6
2025-09-19 11:22:58 +03:00
e5204c4a3a
meta: gitignore everything by default
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I6a6a6964f4f01faeb5551718574c19cc2fa12c57
2025-09-19 11:22:57 +03:00
d1e348df9e
chore: bump dependencies
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I6a6a6964707aec82d862a37d28113667d3cc6162
2025-09-15 19:56:49 +03:00
raf
b0fbdcf3ea
Merge pull request #28 from NotAShelf/dependabot/cargo/inquire-0.8.0
build(deps): bump inquire from 0.7.5 to 0.8.0
2025-09-15 18:13:07 +03:00
dependabot[bot]
e82f2911d0
build(deps): bump inquire from 0.7.5 to 0.8.0
Bumps [inquire](https://github.com/mikaelmello/inquire) from 0.7.5 to 0.8.0.
- [Release notes](https://github.com/mikaelmello/inquire/releases)
- [Changelog](https://github.com/mikaelmello/inquire/blob/main/CHANGELOG.md)
- [Commits](https://github.com/mikaelmello/inquire/compare/v0.7.5...v0.8.0)

---
updated-dependencies:
- dependency-name: inquire
  dependency-version: 0.8.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-15 15:08:56 +00:00
raf
ad808c73c7
Merge pull request #26 from NotAShelf/dependabot/cargo/log-0.4.28
build(deps): bump log from 0.4.27 to 0.4.28
2025-09-09 11:32:33 +03:00