Screen Ruler can be triggered with the Win + Shift + M shortcut by default, and it should go without saying at this point that this activation method is configurable. Once you trigger it, you'll be ...
Expose SDL_SetWindowOpacity to love.window. Sorry, wrong setting, this would set opacity for the entire window. This is probably how it works (available since SDL3 ...