This commit is contained in:
Cynthia Foxwell 2022-11-08 09:36:46 -07:00
parent 24706d35f7
commit f7c2b96150
28 changed files with 450 additions and 1885 deletions

View file

@ -26,11 +26,12 @@ mkdir -p "$screenshot_folder"
date_str=$(date +'%Y-%m-%d-%H_%M_%S')
target="$screenshot_folder/screenie-$date_str.png"
maim -s "$target"
flameshot gui -r > "$target"
if [ ! -f "$target" ]; then
notify-send -t 5000 "screenshot not found, skipping sending"
if [ ! -s "$target" ]; then
notify-send "screenshot aborted, skipping sending"
else
aplay "$HOME/.local/bin/assets/capture.wav" &
notify-send -t 5000 "screenie: sending: $target"
source ~/.secrets
$elixiremanager "$target"