majorly enhance my stuff

This commit is contained in:
2025-03-12 21:25:53 +02:00
parent 2e01b26e5a
commit 6fafc566ae
15 changed files with 216 additions and 21 deletions

View File

@@ -0,0 +1,11 @@
#!/bin/bash
# do NOT use $PATH for this!!
SS_PATH=$(timeout 30s bun run ~/config/scripts/bin/handleScreenshot.ts fullscreen)
echo "$SS_PATH"
if [[ -n "$SS_PATH" && "$SS_PATH" == /home/ocbwoy3/Pictures/Screenshots/* ]]; then
wl-copy < "$SS_PATH"
notify-send "Screenshot" "Successfully captured screenshot to clipboard"
fi