summaryrefslogtreecommitdiff
path: root/screenshot.fish
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-01-18 20:01:08 +1100
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-01-18 20:01:08 +1100
commit8235701a66de2d81f74a700b9bb117910789628c (patch)
treef0cd349077d87b9ba906279d073bd4f00e4f6bc5 /screenshot.fish
parentfish completions (diff)
downloadcaelestia-cli-8235701a66de2d81f74a700b9bb117910789628c.tar.gz
caelestia-cli-8235701a66de2d81f74a700b9bb117910789628c.tar.bz2
caelestia-cli-8235701a66de2d81f74a700b9bb117910789628c.zip
record script
Diffstat (limited to 'screenshot.fish')
-rwxr-xr-xscreenshot.fish2
1 files changed, 1 insertions, 1 deletions
diff --git a/screenshot.fish b/screenshot.fish
index 1798b3b..bf65b9d 100755
--- a/screenshot.fish
+++ b/screenshot.fish
@@ -7,7 +7,7 @@ set tmp_file "$CACHE/screenshots/$(date +'%Y%m%d%H%M%S')"
grim $argv $tmp_file; and wl-copy < $tmp_file; or exit 1
set action (notify-send -i 'image-x-generic-symbolic' -h "STRING:image-path:$tmp_file" \
- -a (basename (status current-filename)) --action='open=Open' --action='save=Save' \
+ -a 'caelestia-screenshot' --action='open=Open' --action='save=Save' \
'Screenshot taken' "Screenshot stored in $tmp_file and copied to clipboard")
switch $action
case 'open'