#!/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