Hi, since I'm pasting things from my config file. I would also like to mention the scratchpad. Having used Ion for a few years I really got used to it, especially when I'm outside with a laptop.

After a few different ides I settled for this as an awesome2 scratchpad imitation/replacement. If anyone has a cleaner approach I would like to see it. Keybindings are attached:
-- Client manipulation
table.insert(clientkeys, key({ modkey }, "d", function () if client.focus then 
client.focus.hide = not client.focus.hide end end))
table.insert(clientkeys, key({ modkey, "Shift" }, "0", function () 
client.focus.sticky = not client.focus.sticky end))

-- Client tagging
table.insert(clientkeys, key({ modkey }, "t", awful.client.togglemarked))
-- Move a marked client to the current tag and; re-mark it, show it and focus it
--   * with the above "hide", "sticky" and "mark" bindings this provides a 
scratchpad replacement
table.insert(globalkeys, key({ modkey }, "s", function () for k, c in 
pairs(awful.client.getmarked()) do 
                                                              
awful.client.movetotag(awful.tag.selected(), c)
                                                              
awful.client.togglemarked(c)
                                                              c.hide = false
                                                              client.focus = c
                                                          end
                                              end))

Reply via email to