Replies: 4 comments 3 replies
-
|
I have simply disabled saving screenshots entirely by now, which is not ideal, and it still shows "Press I now handle saving entirely within my own screenshot script, but this still does not fix the underlying issue, and I still have no way to toggle the cursor globally with a command-line argument. Again, the issue persists, and is a bit annoying. I have considered switching to other screenshot utilities, but I like to keep things more tightly integrated with the environment, and since Niri provides its own utility, I accept the hacky workarounds to make it work like I want, though, I feel that I should not have to. I hope this will get looked at and eventually fixed someday, even if it is not the highest of priority. Cheers. |
Beta Was this translation helpful? Give feedback.
-
|
From what I can see:
The only alternative for |
Beta Was this translation helpful? Give feedback.
-
|
Semi-related, it would also be nice if the commands themselves were consistently named. Currently there's: It would be nice if it were: This way all 3 commands have a well named suffix and the suffix explicitly says what type of screenshot will be performed. |
Beta Was this translation helpful? Give feedback.
-
|
I ended up starting #2649 to see if there's an opportunity for there to be screenshot tool enhancements so we don't need custom scripts. |
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
-
Note: Since this issue is not hardware or software-version/compatibility-specific, these details will be omitted as they are useless. However, it is to note that the latest version of Niri is being used for this, on NixOS 25.11.
Issue: Screenshot arguments
The arguments for
niri msg action screenshot(*)are very inconsistent and thus confusing, sometimes being applicable, sometimes not, and with no explanation as to why.The simplest example that explains it all:
Expected behaviour: Consistent handling of arguments
The
-pandwrite-to-diskarguments should be handled for all types of screenshots (screenshot,screenshot-window,screenshot-screen).Examples:
niri msg action screenshotTake a screenshot of any area on the monitor.
niri msg action screenshot -p=falseTake a screenshot of any area on the monitor, but hide the cursor by default.
niri msg action screenshot --write-to-disk=falseTake a screenshot of any area on the monitor, but do not save to the disk when pressing
SpaceorEnter(additionally, the message shown when taking such a screenshot should reflect that change by saying "to copy the screenshot" instead of "to save the screenshot", and that without having to doCtrl+C).niri msg action screenshot-window -p=true --write-to-disk=falseTake a screenshot of the currently focused window whilst keeping the cursor visible, and do not save to the disk.
Why?
Beta Was this translation helpful? Give feedback.
All reactions