From 944ddd206af7fd7895d5b149203cd7affa64ca60 Mon Sep 17 00:00:00 2001 From: ewy Date: Fri, 15 May 2026 02:19:59 +0200 Subject: a lot of stuff --- .local/bin/uwushot | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to '.local/bin/uwushot') diff --git a/.local/bin/uwushot b/.local/bin/uwushot index cc99316..59aed24 100755 --- a/.local/bin/uwushot +++ b/.local/bin/uwushot @@ -1,5 +1,8 @@ #!/usr/bin/env bash -set -euo pipefail -filename="~/Pictures/Screenshots/satty-$(date '+%Y%m%d-%H:%M:%S').png" -grim -g "$(slurp -o -r -c '#ff0000ff')" -t ppm - | satty --filename - --disable-notifications --corner-roundness 12 --output-filename "$filename" +set -euxo pipefail +DATE=$(date '+%Y%m%d-%H:%M:%S') +path="$HOME/Pictures/Screenshots/" +filename="satty-$DATE.png" +grim -g "$(slurp -o -r -c '#ff0000ff')" -t ppm - | satty --actions-on-right-click=save-to-file --filename - --disable-notifications --corner-roundness 12 --output-filename "$path$filename" +cd "$path" uwuload "$filename" -- cgit v1.3.1