add a command for local screenshots
This commit is contained in:
parent
79f0d372fc
commit
09c0c0d372
1 changed files with 6 additions and 0 deletions
|
@ -43,3 +43,9 @@ take_screenshot () {
|
|||
notify-send -t 5000 "$MSG" "$LINK"
|
||||
return $RETCODE
|
||||
}
|
||||
|
||||
local_screenshot () {
|
||||
FILENAME=/home/xx/Pictures/ss/$(date '+%F-%H-%M-%S').png
|
||||
grim -g "$(slurp)" "$FILENAME"
|
||||
wl-copy < "$FILENAME"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue