From c4882067cba8d883562ec7b6242b06d221281266 Mon Sep 17 00:00:00 2001 From: Tim Robertson Date: Tue, 20 Mar 2018 14:03:46 -0400 Subject: [PATCH] Make generated passwords actionable again This makes the items actionable. The feedback.py lib used in v1.2.0 defaulted added items to actionable however the Workflow lib used in the latest version does not. --- alfred-workflow/exec.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/alfred-workflow/exec.py b/alfred-workflow/exec.py index 0c286e0..8673dc6 100644 --- a/alfred-workflow/exec.py +++ b/alfred-workflow/exec.py @@ -52,10 +52,12 @@ def main(wf): wf.add_item(title=result['password'], subtitle="Press Cmd+C to copy", - arg=result['password']) + arg=result['password'], + valid=True) wf.add_item(title="Copy hashed versions", subtitle="Press Cmd+C to copy", - arg="\n".join(hashed)) + arg="\n".join(hashed), + valid=True) wf.send_feedback() return 0