From c8cebdd08c7d3a98ff0961b55483cb8ea065f9b6 Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Thu, 31 Oct 2019 21:33:15 +1300 Subject: [PATCH 1/1] cmd+BackSpace triggers offlineimap --- .config/awesome/rc.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.config/awesome/rc.lua b/.config/awesome/rc.lua index 4aae8af..43a843e 100644 --- a/.config/awesome/rc.lua +++ b/.config/awesome/rc.lua @@ -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), -- 2.39.5