diff --git a/system/.local/bin/screenshot b/system/.local/bin/screenshot index 3af4f2a..4503b70 100755 --- a/system/.local/bin/screenshot +++ b/system/.local/bin/screenshot @@ -18,10 +18,12 @@ PROMPT="Screenshot" # Actions for the menu ACTIONS=( "1: Fullscreen" - "2: Selection" + "2: Fullscreen (Clipboard)" + "3: Selection" + "4: Selection (Clipboard)" ) -FILENAME="${HOME}/Pictures/Screenshots/%Y-%m-%d-%H%I%S.png" +FILENAME="${HOME}/Pictures/Screenshots/%Y-%m-%d-%H%M%S.png" SELECTION=$(printf '%s\n' "${ACTIONS[@]}" | rofi -dmenu -p "${PROMPT}" | cut -d ":" -f1) case "${SELECTION}" in @@ -29,6 +31,12 @@ case "${SELECTION}" in escrotum "${FILENAME}" ;; "2") + escrotum -C "${FILENAME}" + ;; + "3") escrotum -s "${FILENAME}" ;; + "4") + escrotum -C -s "${FILENAME}" + ;; esac