Guest User

Untitled

a guest
Feb 20th, 2018
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.94 KB | None | 0 0
  1. awful.key({ modkey, "Control" }, "n", awful.client.restore),
  2.  
  3. -- Prompt
  4. awful.key({ modkey }, "r", function () mypromptbox[mouse.screen]:run() end),
  5.  
  6. awful.key({ modkey }, "x",
  7. function ()
  8. awful.prompt.run({ prompt = "Run Lua code: " },
  9. mypromptbox[mouse.screen].widget,
  10. awful.util.eval, nil,
  11. awful.util.getdir("cache") .. "/history_eval")
  12. end)
  13. )
  14. -- KEYBINDING PERSOS
  15.  
  16. awful.key({}, "#121", function () exec("amixer set Master mute") end),
  17. awful.key({}, "#122", function () exec("amixer set Master -5%") end),
  18. awful.key({}, "#123", function () exec("amixer set Master +5%") end),
  19. awful.key({}, "#173", function () exec("mpc prev") end),
  20. awful.key({}, "#171", function () exec("mpc next") end),
  21. awful.key({}, "#172", function () exec("mpc pause") end),
  22. awful.key({}, "#174", function () exec("mpc stop") end),
Add Comment
Please, Sign In to add comment