This commit is contained in:
2026-03-27 23:14:29 +02:00
parent 08fd0ea72c
commit 15bc9617a4
46 changed files with 868 additions and 587 deletions

View File

@@ -1,11 +1,11 @@
#!/usr/bin/env bash
# do NOT use $PATH for this!!
SS_PATH=$(timeout 30s bun run ~/config/scripts/bin/handleScreenshot.ts fullscreen)
SS_PATH=$(timeout 30s bun run /etc/nixos/scripts/bin/handleScreenshot.ts fullscreen)
echo "$SS_PATH"
if [[ -n "$SS_PATH" && "$SS_PATH" == /home/ralsei/Pictures/Screenshots/* ]]; then
if [[ -n "$SS_PATH" && "$SS_PATH" == /home/kris/Pictures/Screenshots/* ]]; then
wl-copy < "$SS_PATH"
notify-send -i "$SS_PATH" "Ekrānuzņēmums" "nokopēts starpliktuvē!"
notify-send -i "$SS_PATH" "Screenshot" "copied to clipboard!"
fi