Get the screenshot of the current active window #412
JustSimplyKyle
started this conversation in
General
Replies: 1 comment 2 replies
-
|
well if you want it only to be better eyecandy, and not faster, use -j for json and then parse with a json parser |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Currently I'm using this magic command to get the screenshot of the active window
wayshot -s "$(hyprctl activewindow | sed -n '2p' | sed -e "s/[^0-9]/ /g" | sed -e 's/^[[:space:]]*//') $(hyprctl activewindow | sed -n '3p' | sed -e "s/[^0-9]/ /g" | sed -e 's/^[[:space:]]*//')" --stdout | wl-copyIs there anyway to improve this, because in my eyes, this is cursed as hell
Beta Was this translation helpful? Give feedback.
All reactions