A screenshot widget for Awesome WM. It's compatible with Awesome 4
- maim
- xclip
- xdotool
- rubato
cd $XDG_CONFIG_HOME/awesome/
git clone https://github.com/denisoster/awesomewm-screenshot.gitJust put these line to the appropriate places in $XDG_CONFIG_HOME/awesome/rc.lua.
-- Load the widget.
local screenshot = require("screenshot")
-- Configure the hotkeys.
awful.key({}, "Print", screenshot.take_full, { description = "Скриншот экрана", group = "screenshot" }),
awful.key({ "Shift" }, "Print", screenshot.take_area, { description = "Скриншот области", group = "screenshot" }),
awful.key({ "Control" }, "Print", screenshot.take_window, { description = "Скриншот окна", group = "screenshot" }),this software is distributed in MIT License