]> 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:

cmd+BackSpace triggers offlineimap
authormartin f. krafft <madduck@madduck.net>
Thu, 31 Oct 2019 08:33:15 +0000 (21:33 +1300)
committermartin f. krafft <madduck@madduck.net>
Thu, 31 Oct 2019 08:34:07 +0000 (21:34 +1300)
.config/awesome/rc.lua

index 4aae8afcd86151db5dd84e79ae5abc7bf64ac7f8..43a843e3aec1e330ac311cee546c6706a5fd6533 100644 (file)
@@ -906,6 +906,8 @@ awful.key({ cmdkey }, "x", function ()
 end),
 awful.key({ cmdkey, "Shift" }, "x", function () awful.spawn("xscreensaver-command -exit") end),
 
+awful.key({ cmdkey }, "BackSpace", function () awful.spawn("pkill -USR1 offlineimap") end),
+
 -- function keys
 awful.key(nil, "XF86ScreenSaver", function () awful.spawn("xset dpms force off") end),
 awful.key(nil, "XF86AudioMute", function () awful.spawn("pactl set-sink-mute @DEFAULT_SINK@ toggle") end),