And I could never get enough

This commit is contained in:
λmolinae 2025-05-25 14:38:46 -06:00
parent ae7aefa541
commit b88dc9011a
15 changed files with 159 additions and 50 deletions

13
.local/bin/aws Executable file
View file

@ -0,0 +1,13 @@
#!/bin/sh
notify(){
notify-send "aws" "screenshot copied to clipboard"
}
img="$HOME/Pictures/$(date +"%d_%m_%y-%H_%M_%S").png"
case "$1" in
-f) grim "$img" && wl-copy -t image/png < "$img" && notify ;;
-r) grim -g "$(slurp)" "$img" && wl-copy -t image/png < "$img" && notify ;;
-h|*) echo "usage: aws [-f] [-r]" >&2; exit 1; ;;
esac