From 1749b164c315e8a5224f80e5c5e352897b7b44ae Mon Sep 17 00:00:00 2001 From: "Adrian C. (anrxc)" Date: Tue, 3 Nov 2009 01:47:23 +0100 Subject: rc.lua: fix mbox truncate --- rc.lua | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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) -- }}} -- cgit v1.2.3