add notification upon screenshot
This commit is contained in:
@ -1,5 +1,8 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# Simple screenshot script with selection.
|
# Simple screenshot script with selection.
|
||||||
|
|
||||||
|
filepath="/home/andrew/media/images/screenshots/$(date +%Y-%m-%d\ %H:%M:%S).png"
|
||||||
maim --select --hidecursor |
|
maim --select --hidecursor |
|
||||||
tee /home/andrew/media/images/screenshots/"$(date +%Y-%m-%d\ %H:%M:%S)".png | xclip -selection clipboard -target image/png
|
tee "$filepath" | xclip -selection clipboard -target image/png
|
||||||
|
|
||||||
|
notify-send "screenshot.sh" "Screenshot saved to: $filepath"
|
||||||
|
Reference in New Issue
Block a user