summaryrefslogtreecommitdiff
path: root/.scripts
diff options
context:
space:
mode:
Diffstat (limited to '.scripts')
-rwxr-xr-x.scripts/grimshot-gnosis-save.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/.scripts/grimshot-gnosis-save.sh b/.scripts/grimshot-gnosis-save.sh
new file mode 100755
index 0000000..f6d0137
--- /dev/null
+++ b/.scripts/grimshot-gnosis-save.sh
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+# Prompt for filename using fuzzel
+filename=$(echo "" | fuzzel --dmenu --prompt="Enter filename:")
+
+# If filename is not empty, proceed with the screenshot
+if [ ! -z "$filename" ]; then
+ grimshot save area "$HOME/.config/emacs/gnosis/images/$filename.png"
+else
+ echo "No filename provided. Screenshot aborted."
+fi