improve eww

This commit is contained in:
2026-09-10 19:54:50 +02:00
parent e551d36e1c
commit 7bb27f9373
46 changed files with 1296 additions and 1092 deletions
@@ -1,4 +1,9 @@
#!/usr/bin/env bash
# Region screenshot → satty (annotate, copy to clipboard), detached from eww.
eww close popup 2>/dev/null
sleep 0.15
hyprshot -m region --raw | satty --filename - --early-exit --action-on-enter save-to-clipboard --copy-command wl-copy
eww update active-panel= 2>/dev/null
hyprshot=$(command -v hyprshot)
satty=$(command -v satty)
wl_copy=$(command -v wl-copy)
detach "$BASH" -c 'sleep 0.15; "$1" -m region --raw | "$2" --filename - --early-exit --action-on-enter save-to-clipboard --copy-command "$3"' \
screenshot "$hyprshot" "$satty" "$wl_copy"