2019-06-16 22:47:19 +00:00
|
|
|
#! /bin/sh
|
2019-12-11 05:52:23 +00:00
|
|
|
# -*- sh -*-
|
2019-06-16 22:47:19 +00:00
|
|
|
|
2020-01-11 05:41:39 +00:00
|
|
|
file=~/media/pictures/Screenshots/Screenshot-$(date '+%Y%m%d%H%M%S').png
|
2019-06-16 22:47:19 +00:00
|
|
|
grim -g "$(slurp)" $file \
|
|
|
|
&& wl-copy $file \
|
2019-12-11 05:52:23 +00:00
|
|
|
&& notify-send -i $file "File copied to clipboard"
|