record script

This commit is contained in:
2 * r + 2 * t
2025-01-18 20:01:08 +11:00
parent 62ca5cb6dc
commit 8235701a66
4 changed files with 142 additions and 4 deletions
+1 -1
View File
@@ -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'