aboutsummaryrefslogtreecommitdiffstats
path: root/src/config.rs
diff options
context:
space:
mode:
authorToby Vincent <tobyv13@gmail.com>2023-05-08 16:38:40 -0500
committerToby Vincent <tobyv13@gmail.com>2023-05-08 16:38:40 -0500
commited67fa7a39ca5f4c77377a6ada9d1900b1dbfd90 (patch)
tree660b065fd77b995855eb10be0acc89d789355b61 /src/config.rs
parent1bf5fc03411b8544c18066675984d3c99a5c9e65 (diff)
feat: add flag to exclude attached tmux session
Diffstat (limited to 'src/config.rs')
-rw-r--r--src/config.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/config.rs b/src/config.rs
index df31de4..c504590 100644
--- a/src/config.rs
+++ b/src/config.rs
@@ -18,6 +18,10 @@ pub struct Config {
#[arg(short = 'T', long = "sessions")]
pub tmux_sessions: bool,
+ /// Exclude currently attached tmux session from output
+ #[arg(long)]
+ pub exclude_attached: bool,
+
/// Include arbitrary directories in output
///
/// Note: Directories added by this flag are still filtered and sorted based on supplied