Skip to content

Commit

Permalink
Migrate to alfred-pyflow and some extra improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
fedecalendino committed Jul 17, 2022
1 parent 53e032a commit ed3f121
Show file tree
Hide file tree
Showing 33 changed files with 372 additions and 5,712 deletions.
7 changes: 6 additions & 1 deletion .gitignore
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,2 +1,7 @@
.idea/
*pyc

build/

.idea/
.tmp/

Empty file modified LICENSE
100644 → 100755
Empty file.
10 changes: 9 additions & 1 deletion README.md
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,7 +1,15 @@
### [Alfred Workflow](https://www.alfredapp.com/workflows/) to generate secure passwords 🔑️
## ALFRED-PWD-GEN

[Alfred Workflow](https://www.alfredapp.com/workflows/) to generate secure passwords 🔑️


### USAGE

#### with default values (15 letters, 5 digits and 5 symbols)

![default](./img/screenshots/default.png)


### with parameters

![usage](./img/screenshots/usage.png)
Empty file modified alfred-pwd-gen
100644 → 100755
Empty file.
4 changes: 4 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
poetry run pyinstaller --onefile --paths ./src/ src/main.py

rm -rf ./build
rm *.spec
Binary file added dist/main
Binary file not shown.
Binary file modified icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/icons/black.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/icons/blue.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/icons/brown.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/icons/green.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/icons/orange.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/icons/purple.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/icons/red.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/icons/yellow.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified img/screenshots/default.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified img/screenshots/usage.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
36 changes: 19 additions & 17 deletions info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
<string>Tools</string>
<key>connections</key>
<dict>
<key>B0B48240-4B88-4DA4-AF4F-B5E62A496B71</key>
<key>E17D249B-3A1C-4E16-AFD6-8B04998E329F</key>
<array>
<dict>
<key>destinationuid</key>
<string>2CE251E4-C48A-4FF4-85B5-9C594E97F8DC</string>
<string>A6DCC97F-3E98-41A7-A949-78C4D55522AB</string>
<key>modifiers</key>
<integer>0</integer>
<key>modifiersubtext</key>
Expand Down Expand Up @@ -47,7 +47,7 @@
<key>type</key>
<string>alfred.workflow.output.clipboard</string>
<key>uid</key>
<string>2CE251E4-C48A-4FF4-85B5-9C594E97F8DC</string>
<string>A6DCC97F-3E98-41A7-A949-78C4D55522AB</string>
<key>version</key>
<integer>3</integer>
</dict>
Expand All @@ -71,32 +71,32 @@
<key>queuedelaycustom</key>
<integer>3</integer>
<key>queuedelayimmediatelyinitially</key>
<true/>
<false/>
<key>queuedelaymode</key>
<integer>0</integer>
<key>queuemode</key>
<integer>1</integer>
<integer>2</integer>
<key>runningsubtext</key>
<string></string>
<key>script</key>
<string>python3 ./main.py $@</string>
<string>./dist/main $@</string>
<key>scriptargtype</key>
<integer>1</integer>
<key>scriptfile</key>
<string></string>
<key>subtext</key>
<string>for example: pwd 9 8 7</string>
<string></string>
<key>title</key>
<string>pwd [letters=10] [digits=5] [symbols=5]</string>
<string>pwd [letters: 15] [digits: 5] [symbols: 5]</string>
<key>type</key>
<integer>0</integer>
<key>withspace</key>
<false/>
<true/>
</dict>
<key>type</key>
<string>alfred.workflow.input.scriptfilter</string>
<key>uid</key>
<string>B0B48240-4B88-4DA4-AF4F-B5E62A496B71</string>
<string>E17D249B-3A1C-4E16-AFD6-8B04998E329F</string>
<key>version</key>
<integer>3</integer>
</dict>
Expand All @@ -105,23 +105,25 @@
<string>Generate secure passwords 🔑️</string>
<key>uidata</key>
<dict>
<key>2CE251E4-C48A-4FF4-85B5-9C594E97F8DC</key>
<key>A6DCC97F-3E98-41A7-A949-78C4D55522AB</key>
<dict>
<key>xpos</key>
<integer>285</integer>
<real>280</real>
<key>ypos</key>
<integer>25</integer>
<real>15</real>
</dict>
<key>B0B48240-4B88-4DA4-AF4F-B5E62A496B71</key>
<key>E17D249B-3A1C-4E16-AFD6-8B04998E329F</key>
<dict>
<key>xpos</key>
<integer>35</integer>
<real>30</real>
<key>ypos</key>
<integer>25</integer>
<real>15</real>
</dict>
</dict>
<key>userconfigurationconfig</key>
<array/>
<key>version</key>
<string>1.4</string>
<string>1.5.0</string>
<key>webaddress</key>
<string>https://github.com/fedecalendino/alfred-pwd-gen</string>
</dict>
Expand Down
64 changes: 0 additions & 64 deletions main.py

This file was deleted.

Loading

0 comments on commit ed3f121

Please sign in to comment.