From 74a75f1b4b85b55a1d3f2b2e86176cc0966b999e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=84min=20Baumeler?= Date: Fri, 23 May 2025 15:43:06 +0200 Subject: [PATCH] more flags --- fzf-vjour | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/fzf-vjour b/fzf-vjour index e2f977f..8de7f9b 100755 --- a/fzf-vjour +++ b/fzf-vjour @@ -486,6 +486,10 @@ if [ "${1:-}" = "--help" ]; then echo " --help Show this help and exit" echo " --tasks Show tasks only" echo " --no-tasks Ignore tasks" + echo " --notes Show notes only" + echo " --no-notes Ignore notes" + echo " --journal Show journal only" + echo " --no-journal Ignore journal" echo " --completed Show completed tasks only" echo " --no-completed Ignore completed tasks" echo " --new Create new entry" @@ -585,6 +589,18 @@ fi if [ "${1:-}" = "--no-tasks" ]; then query="!✅ !🔲" fi +if [ "${1:-}" = "--notes" ]; then + query="🗒️" +fi +if [ "${1:-}" = "--no-notes" ]; then + query="!🗒️" +fi +if [ "${1:-}" = "--journal" ]; then + query="📘" +fi +if [ "${1:-}" = "--no-journal" ]; then + query="!📘" +fi if [ -z "$query" ]; then query="!✅" fi