From 3c616247b977d0fb68bd3712ae767946a30fdcd0 Mon Sep 17 00:00:00 2001 From: Dean Jackson Date: Tue, 22 Mar 2016 15:04:23 +0100 Subject: [PATCH] Add largetext and filetype --- README.md | 29 ++++++++++++++++------------- src/dfx.py | 2 ++ 2 files changed, 18 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index dcda789..393cac4 100644 --- a/README.md +++ b/README.md @@ -1,20 +1,22 @@ -# Default Folder X for Alfred # +# Default Folder X for Alfred 2 # -Show and search Default Folder X favourites and recent items in Alfred 2. +Show and search Default Folder X favourites and recent items in [Alfred 2][alfredapp]. ## Usage ## -- `keyword` — What gets shown… - - `↩` or `⌘+` — Action description… - - `⌘+↩` — Alternate action description… - - `⌥+↩` — Alternate action description… - - `^+↩` — Alternate action description… - - `⇧+↩` — Alternate action description… - - `fn+↩` — Alternate action description… - - `⇥` — Expansion description… - - `⌘+C` — What gets copied… - - `⌘+L` — What gets shown large… +- `dfx` — Show/search all DFX favourite/recent items. + - `↩` or `⌘+` — Open in Finder/default application. + - `⌘+C` — Copy path to clipboard. + - `⌘+L` — Show path in Alfred's Large Text window. +- `dfxf` — Show/search only DFX favourite folders. + - `↩` or `⌘+` — Open in Finder/default application. + - `⌘+C` — Copy path to clipboard. + - `⌘+L` — Show path in Alfred's Large Text window. +- `dfxr` — Show/search only DFX recent files/folders. + - `↩` or `⌘+` — Open in Finder/default application. + - `⌘+C` — Copy path to clipboard. + - `⌘+L` — Show path in Alfred's Large Text window. ## Licencing, thanks ## @@ -32,4 +34,5 @@ It is based on the [Alfred-Workflow][aw] library, which is also released under t [mit]: ./src/LICENCE.txt -[aw]: http://www.deanishe.net/alfred-workflow/ \ No newline at end of file +[aw]: http://www.deanishe.net/alfred-workflow/ +[alfredapp]: https://www.alfredapp.com/ diff --git a/src/dfx.py b/src/dfx.py index 5bb4b2a..08fea74 100644 --- a/src/dfx.py +++ b/src/dfx.py @@ -199,6 +199,8 @@ def main(wf): arg=e.path, uid=e.path, copytext=e.path, + largetext=e.path, + type='file', valid=True, icon=e.path, icontype='fileicon')