improve eww
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user