Closed Kommynct closed 4 years ago
Could clarify what you mean by that? What exactly is the behavior you want?
Sorry, my bad, for example: on sway i have this setup
bindsym --no-repeat mod1+mod4+p exec grim -g "$(slurp -o -b 00000000 -s 00000000 -w 0)"
However, this could be optimized by making it so that when i push the keybind it instantly screenshots the output the cursor is on, rather than after a click.
Is that completely clear?
Ah, I think that makes sense. You want to use the current location of the mouse as input, rather than the location when the user clicks?
Exactly. Ideally this'd also be the only appearance flag in the config as it'd skip the need for drawing anything.
Would also be good for color pickers possibly.
The output the cursor is on is available via swaymsg
. There's no need for slurp here.
...i'm dumb
Eh, no worries :)
This would be useful for the output selection mode.