Scratch pad implementation similar to i3wm scratchpad for AwesomeWM.
https://github.com/Bhanukamax/awesome-scratchpad.git
Note: you have to require it form the correct place you cloned it to
(following will work either if you clone it in the same directory as
your rc.lua
or you home directory ~
-- Require the module
local scratchpad = require("awesome-scratchpad/scratchpad")
-- Put these some where you put you keybinding
-- Send or take back client from scratchpad
awful.key({ modkey, }, "-", scratchpad.toggle_send,
{description = "Send to scratch pad", group = "Scratchpad"}),
-- Toggle the last scratchpad on and off
awful.key({ modkey, }, "=", scratchpad.toggle,
{description = "Toggle Scratch pad", group = "Scratchpad"}),
-- Cycle through all the avaialable scratchpads
awful.key({ modkey, "Control" }, "=", scratchpad.cycle,
{description = "Cycle Scratch pad", group = "Scratchpad"})
Because I was so used to i3wm scratch pad and couldn't find something similar for AwesomeWM.