Skip to content

Commit

Permalink
add socr add to screenshot
Browse files Browse the repository at this point in the history
  • Loading branch information
sentriz committed Jul 27, 2018
1 parent 1e3a5ea commit 5798713
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions public_extra/bin/screenshot
Expand Up @@ -21,9 +21,14 @@ set filename (
-e 'echo $f'
)

# add to socr database
# see https://github.com/sentriz/socr
socr add "$filename" &

if test "$upload" = 'true'
echo "$filename" | imgur_up | xclip -i
notify-send 'screenshot' 'link in clipboad'
else
notify-send 'screnshot taken' (basename "$filename")
end

0 comments on commit 5798713

Please sign in to comment.