summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian C. (anrxc) <anrxc@sysphere.org>2009-11-03 01:47:23 +0100
committerAdrian C. (anrxc) <anrxc@sysphere.org>2009-11-03 01:47:23 +0100
commit1749b164c315e8a5224f80e5c5e352897b7b44ae (patch)
tree72d3613b3df4b04c140af8209c152ee99c35480d
parentd23cfb26624e1fa14fce8cf3f1031adb4632dd3e (diff)
downloadawesome-configs-1749b164c315e8a5224f80e5c5e352897b7b44ae.tar.xz
rc.lua: fix mbox truncate
-rw-r--r--rc.lua5
1 files changed, 4 insertions, 1 deletions
diff --git a/rc.lua b/rc.lua
index 0fa0e63..06af38a 100644
--- a/rc.lua
+++ b/rc.lua
@@ -185,7 +185,7 @@ mailicon.image = image(beautiful.widget_mail)
-- Initialize widget
local mailwidget = widget({ type = "textbox" })
-- Register widget
-vicious.register(mailwidget, vicious.widgets.mbox, "$1", 181, "/home/anrxc/mail/Inbox")
+vicious.register(mailwidget, vicious.widgets.mbox, "$1", 181, {"/home/anrxc/mail/Inbox", 22})
-- Register buttons
mailwidget:buttons(awful.util.table.join(
awful.button({ }, 1, function () exec("urxvt -title Alpine -e alpine_exp") end)
@@ -579,6 +579,9 @@ client.add_signal("manage", function (c, startup)
-- Honor size hints
c.size_hints_honor = false
+
+ -- Focus the client
+ client.focus = c
end)
-- }}}