@PiraHxCx
For viewing, yes. The command is called display
.
eshep
- 0 Posts
- 5 Comments
@BCsven
This is so much less helpful than just posting “I don’t know” or “beats me”.First, if you’re gonna post code, put it in a code block. And nevermind you not knowing if the ““code is good””, it doesn’t even adhere to the question that was asked; the two programs you suggested are not even wayland compatible tools.
@null_dot
@null_dot
Haven’t ever done this in wayland, but in X, I always used toxdotool
to grab the title of the active window. I’d guess you could do the same using one of the wayland alternatives likeydotool
,wlrctl
,dotool
, or whatever else is out there. And something likegrim
to grab an image of the window.
@PiraHxCx Unless something new has come along to beat it, #ImageMagick is prolly the best tool there is. It ain’t perty, but it does perty much everything you might ever need.
https://imagemagick.org/
@communist @null_dot Hyprland has the screenshotting functionality builtin.
hyprctl dispatch capture window