summaryrefslogtreecommitdiff
path: root/rc.lua
diff options
context:
space:
mode:
Diffstat (limited to 'rc.lua')
-rw-r--r--rc.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/rc.lua b/rc.lua
index 9cfeb7b..3a7d225 100644
--- a/rc.lua
+++ b/rc.lua
@@ -54,6 +54,7 @@ editor = os.getenv("EDITOR") or "editor"
editor_cmd = terminal .. " -e " .. editor
lock = "slock"
calc = terminal .. " -sh 70 -name calc -e orpie"
+passmenu = "/usr/share/doc/pass/examples/dmenu/passmenu"
-- Default modkey.
-- Usually, Mod4 is the key with a logo between Control and Alt.
@@ -334,6 +335,8 @@ globalkeys = awful.util.table.join(
{description = "lock screen", group = "launcher"}),
awful.key({ modkey, }, "c", function () awful.spawn(calc) end,
{description = "run calculator", group = "launcher"}),
+ awful.key({ modkey, }, "p", function () awful.spawn(passmenu) end,
+ {description = "open pass menu", group = "launcher"}),
awful.key({ modkey, }, "Left", function () awful.tag.incmwfact( 0.05) end,
{description = "increase master width factor", group = "layout"}),