treewide: make logging format more consistent; make clipboard persistence opt-in

Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I9092f93c29fcbe99c90483875f4acd0c6a6a6964
This commit is contained in:
raf 2026-04-03 13:59:09 +03:00
commit da9bf5ea3e
Signed by: NotAShelf
GPG key ID: 29D95B64378DB4BF
11 changed files with 44 additions and 32 deletions

View file

@ -29,7 +29,7 @@ impl StoreCommand for SqliteClipboardDb {
) -> Result<(), crate::db::StashError> {
if let Some("sensitive" | "clear") = state.as_deref() {
self.delete_last()?;
log::info!("Entry deleted");
log::info!("entry deleted");
} else {
self.store_entry(
input,
@ -41,7 +41,7 @@ impl StoreCommand for SqliteClipboardDb {
None, // no pre-computed hash for CLI store
None, // no mime types for CLI store
)?;
log::info!("Entry stored");
log::info!("entry stored");
}
Ok(())
}