summaryrefslogtreecommitdiff
path: root/rc.lua
diff options
context:
space:
mode:
authorNicolas Schodet2015-05-07 21:58:37 +0200
committerNicolas Schodet2015-05-07 22:01:36 +0200
commitd9ac8e2bec2ac5107a75e18d5edb53b48bf3a31e (patch)
tree0148bc8348945d82d215f20f210029f486c0e13f /rc.lua
parentf153a3b868c54b3e09169d4055945b69bb606e3d (diff)
add volume icon and separator
Diffstat (limited to 'rc.lua')
-rw-r--r--rc.lua9
1 files changed, 8 insertions, 1 deletions
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],