awesomewm/binds/desktop/screenshot.lua

25 lines
341 B
Lua
Raw Normal View History

2021-08-01 07:24:26 -07:00
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"
}
)
)