From d9ac8e2bec2ac5107a75e18d5edb53b48bf3a31e Mon Sep 17 00:00:00 2001 From: Nicolas Schodet Date: Thu, 7 May 2015 21:58:37 +0200 Subject: add volume icon and separator --- rc.lua | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'rc.lua') diff --git a/rc.lua b/rc.lua index bc4dac1..3efde64 100644 --- a/rc.lua +++ b/rc.lua @@ -89,6 +89,12 @@ mysystray = widget({ type = "systray" }) -- Create my widgets myvolume = widgets.volume() +myvolumeicon = widget({ type = "imagebox" }) +myvolumeicon.image = image(beautiful.widget_vol) +myvolumeicon:buttons (myvolume:buttons ()) + +myseparator = widget({ type = "imagebox" }) +myseparator.image = image(beautiful.widget_sep) -- Create a wibox for each screen and add it mywibox = {} @@ -159,7 +165,8 @@ for s = 1, screen.count() do layout = awful.widget.layout.horizontal.leftright }, mylayoutbox[s], - myvolume, + myvolume, myvolumeicon, + myseparator, mytextclock, s == 1 and mysystray or nil, mytasklist[s], -- cgit v1.2.3