diff options
-rwxr-xr-x | n | 2 | ||||
-rwxr-xr-x | screenshot.sh | 15 |
2 files changed, 11 insertions, 6 deletions
@@ -1,3 +1,3 @@ #!/usr/bin/env bash -printf '%s\n' "$(date +%y/%m/%d): $*" >> ~/.local/notes +printf '%s\n' "$(date +%y/%m/%d): $*" >> ~/.local/notes/notes diff --git a/screenshot.sh b/screenshot.sh index b970fde..ac1b5d2 100755 --- a/screenshot.sh +++ b/screenshot.sh @@ -1,7 +1,12 @@ #!/bin/bash -canberra-gtk-play -i audio-volume-change -d "changeVolume" -scrot -s ~/Pictures/screenshots/%Y-%m-%d-%T-screenshot.png -dunstify -t 1000 -a "Screenshot taken" -u low -i screenshot-recorded-symbolic \ - -h string:x-dunst-stack-tag:$msgTag "Screenshot taken" -gthumb ~/Pictures/screenshots +file="$HOME/Pictures/screenshots/$(date +%Y-%m-%d-%H:%M:%S)-screenshot.png" + +scrot -s "$file" + +#dunstify -t 1000 -a "Screenshot taken" -u low -i screenshot-recorded-symbolic \ +# -h string:x-dunst-stack-tag:Image "Microphone unmuted" +dunstify -t 1000 -a "Screenshot taken" -u low -I "$file" \ + -h string:x-dunst-stack-tag:Image "" + +#nsxiv "$file" |