24 lines
339 B
Lua
24 lines
339 B
Lua
|
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"
|
||
|
}
|
||
|
)
|
||
|
)
|