From be593c82e75a80f8ba65308fd8b1766e1a4708c2 Mon Sep 17 00:00:00 2001 From: Valerie Date: Wed, 6 Mar 2024 16:12:54 -0500 Subject: [PATCH] list attach symbol is now configurable --- README.md | 4 ++++ src/command/share.rs | 10 +++++++--- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 9b57ef8..ee793c7 100644 --- a/README.md +++ b/README.md @@ -85,6 +85,10 @@ using an AUR package manager such as 0; println!( - " {group} ({bold}{blue}{id}{reset}) {bold}{green}{attach_sym}{reset}", - // value - attach_sym = if attached { "\u{F0339}" } else { "" }, + " {group} ({bold}{blue}{id}{reset}) {bold}{green}{attach}{reset}", + // values + attach = if attached { attach_symbol.clone() } else { "".to_string() }, // formatting bold = style::Bold, blue = color::Fg(color::Blue),