get script name via $0 instead of hardcoded
This commit is contained in:
@ -3,4 +3,4 @@
|
||||
filepath="/home/andrew/media/images/screenshots/$(date +%Y-%m-%d\ %H:%M:%S).png"
|
||||
|
||||
maim --select --hidecursor | tee "$filepath" | xclip -selection clipboard -target image/png
|
||||
notify-send "screenshot.sh" "Screenshot saved to: $filepath"
|
||||
notify-send "$0" "Screenshot saved to: $filepath"
|
||||
|
Reference in New Issue
Block a user