ayy
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user