awful.key({ modkey, }, "d", th.delete_tag,
{description = "delete the current tag", group = "tag"}),
awful.key({ modkey, "Shift", }, "a", function()
- th.move_to_new_tag(nil,nil,true,true,true)
+ th.move_to_new_tag(nil, { layout = layouts.maximised },true,true,true)
end,
{description = "add a volatile tag with the focused client", group = "tag"}),
awful.key({ modkey, "Shift", "Control" }, "a", function()
- th.move_to_new_tag(nil,nil,false,true,true)
+ th.move_to_new_tag(nil, { layout = layouts.maximised },false,true,true)
end,
{description = "add a permanent tag with the focused client", group = "tag"}),
awful.key({ modkey, "Mod1" }, "a", th.copy_tag,
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),
{ rule = { class = "Thunderbird" },
callback = move_to_tag_by_name(nil, "cal"),
},
+ { rule = { instance = "mutt" },
+ properties = {
+ new_tag = {
+ name = "mutt",
+ layout = awful.layout.suit.fair.horizontal,
+ volatile = true
+ },
+ switchtotag = true,
+ },
+ },
{ rule_any = { class = {
- "MuPDF",
"Wicd-client.py",
"Gxmessage",
"Pinentry"
-- Set the windows at the slave,
-- i.e. put it at the end of others instead of setting it master.
-- if not awesome.startup then awful.client.setslave(c) end
+ if not awesome.startup then
+ local t = awful.screen.focused().selected_tag
+ if t.name == "xmutt" then
+ awful.client.setslave(c)
+ end
+ end
if awesome.startup and
not c.size_hints.user_position