diff options
Diffstat (limited to '.local/bin/screenshot')
| -rwxr-xr-x | .local/bin/screenshot | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/.local/bin/screenshot b/.local/bin/screenshot new file mode 100755 index 0000000..20c98af --- /dev/null +++ b/.local/bin/screenshot @@ -0,0 +1,11 @@ +#!/bin/bash + +maim -u | feh -F - & +id=$! + +maim -suc 1,1,1 > /tmp/cropped.png +xclip -selection clipboard -t image/png /tmp/cropped.png + +kill $id + +notify-send -u low -a "maim" -i /tmp/cropped.png "Screenshot captured" |
