Files
dotfiles/dot_local/bin/executable_owlry-screenshot-menu
s0wlz (Matthias Puchstein) 885fbc1551 screenshot: delay after menu
2026-01-14 22:29:23 +01:00

13 lines
360 B
Bash

#!/usr/bin/env bash
set -euo pipefail
printf '%s\n' \
"grimblast --notify copy screen" \
"grimblast --notify copy output" \
"grimblast --notify copy area" \
"grimblast --notify edit screen" \
"grimblast --notify edit output" \
"grimblast --notify edit area" \
| owlry -m dmenu -p "Screenshot" \
| { read -r cmd && sleep 0.2 && sh -c "$cmd"; }