awesomewm/binds/desktop/screenshot.lua

25 lines
341 B
Lua
Executable File
Raw Blame History

This file contains invisible Unicode characters!

This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden characters.

return gears.table.join(
awful.key( {"Control"}, "Print",
function ()
bin.capture("region", "ocr")
end,
{
description = "OCR a region to the clipboard",
group = "Desktop"
}
),
awful.key( {}, "Print",
function ()
bin.flameshot.gui()
end,
{
description = "Take a screenshot",
group = "Desktop"
}
)
)