Skip to content

GourSE/awesomewm-screenshot

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

awesomewm-screenshot

A screenshot widget for Awesome WM. It's compatible with Awesome 4

Requirements

  • scrot
  • xclip

Get it

cd $HOME/.config/awesome/
git clone https://github.com/GourSE/awesomewm-screenshot.git

Use it

Just put these line to the appropriate places in $HOME/.config/awesome/rc.lua.

-- Load the widget.
local screenshot = require("awesomewm-screenshot.screenshot")
	     

-- Configure the hotkeys.
	awful.key({ }, "Print", scrot_full,
          {description = "Take a screenshot of entire screen", group = "screenshot"}),
        awful.key({ modkey, }, "Print", scrot_selection,
          {description = "Take a screenshot of selection", group = "screenshot"}),
        awful.key({ "Shift" }, "Print", scrot_window,
          {description = "Take a screenshot of focused window", group = "screenshot"}),
        awful.key({ "Ctrl" }, "Print", scrot_delay,
          {description = "Take a screenshot of delay", group = "screenshot"}),
-- Add _d to the end for copy to clipboard only
-- 	awful.key({ }, "Print", scrot_full_d,
--        {description = "Take a screenshot of entire screen and copy to clipboard only", group = "screenshot"}),

the default storage of the ~/Pictures/

License

this software is distributed in MIT License

About

A screenshot widget for Awesome WM

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Lua 100.0%