commit d63c13d58e65a5564d3feaa457b10aa59ed44955 parent 851c90e6885e54d29bd748341f031bf893f83e46 Author: Anton Konyahin <me@konyahin.xyz> Date: Fri, 8 Mar 2024 15:46:48 +0300 save all notes in one scratch file Diffstat:
M | stnote | | | 5 | ++--- |
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/stnote b/stnote @@ -20,6 +20,5 @@ xdotool key --clearmodifiers "Ctrl+c" export URL=$(xclip -o -selection primary) xdotool key --clearmodifiers "Escape" -FILE_NAME=$(date '+%Y-%m-%d-%H%M%S') -sttemp webnote >> "${NOTES_QUEUE}/$FILE_NAME.md" -notify-send -t 1500 "Saved to $FILE_NAME.md" +sttemp webnote >> "$SCRATCH_PATH" +notify-send -t 1500 "Saved to scratch file."