summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2025-05-07 12:00:47 +0300
committerPaul Buetow <paul@buetow.org>2025-05-07 12:00:47 +0300
commit473b05b2e09bb430ca486b1b39845c4d7fa91f28 (patch)
tree593a1a82919b1e3168dcdef5723055d57b0c3f5e
parent9c1fab6d9a9ea7e0cdc809a87b99b3ba4d57a5e5 (diff)
Update
-rw-r--r--dotfiles/scripts/taskwarriorfeeder.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/dotfiles/scripts/taskwarriorfeeder.rb b/dotfiles/scripts/taskwarriorfeeder.rb
index 8ded541..162baf2 100644
--- a/dotfiles/scripts/taskwarriorfeeder.rb
+++ b/dotfiles/scripts/taskwarriorfeeder.rb
@@ -50,7 +50,7 @@ def random_quote(md_file)
quote = lines.select { |l| l.start_with? '*' }.map { |l| l.sub(/\* +/, '') }.sample
tags = [tag, 'random']
- tags << 'work' if maybe?
+ tags << 'work' if maybe and maybe?
yield tags, quote.chomp, "#{rand(0..timespan)}d"
end