Skip to content

Commit

Permalink
Added wait selection: v1.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
miestasmia committed May 8, 2017
1 parent 22ccf62 commit 6240108
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v1.3.4
v1.4.0
5 changes: 5 additions & 0 deletions perdyshot.conf
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,11 @@
mode = "selection"
copy = True
notification = True

[[["Capture Selection in 2 seconds"]]]
type = "script"
file = "/home/mia/Documents/Code/Perdyshot/waitselection.sh"



# Application-specific settings
Expand Down
6 changes: 6 additions & 0 deletions waitselection.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/usr/bin/env bash

cd /home/mia/Documents/Code/Perdyshot
sleep 2
cli/selection.py -f /tmp/perdyselection.png
xclip -i -sel clip -t image/png < /tmp/perdyselection.png

0 comments on commit 6240108

Please sign in to comment.