]> git.madduck.net Git - etc/awesome.git/commitdiff

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

suspend key
authormartin f. krafft <madduck@madduck.net>
Tue, 10 Mar 2020 18:58:15 +0000 (19:58 +0100)
committermartin f. krafft <madduck@madduck.net>
Tue, 10 Mar 2020 18:58:15 +0000 (19:58 +0100)
.config/awesome/rc.lua

index 3518af11bd8ee08e2999603372c85183f80a2c92..12437717986d6f4cbabcd95761081ffd15c66779 100644 (file)
@@ -927,6 +927,7 @@ awful.key(nil, "XF86Tools", function () awful.spawn("") end),
 awful.key(nil, "XF86Search", function () awful.spawn("") end),
 awful.key(nil, "XF86LaunchA", function () awful.spawn("") end),
 awful.key(nil, "XF86Explorer", function () awful.spawn("") end),
+awful.key(nil, "XF86Favorites", function () awful.spawn("systemctl suspend") end),
 
 awful.key({ cmdkey }, "Left", function () awful.spawn("xmms2 prev") end),
 awful.key({ cmdkey }, "Right", function () awful.spawn("xmms2 next") end),