From c047d077189127f8086cb05d1364e4107149bdc9 Mon Sep 17 00:00:00 2001 From: Nicolas Schodet Date: Mon, 28 Mar 2011 19:00:50 +0200 Subject: add volume widget --- rc.lua | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'rc.lua') diff --git a/rc.lua b/rc.lua index 2ab67f7..d9f30bd 100644 --- a/rc.lua +++ b/rc.lua @@ -10,6 +10,9 @@ require("naughty") -- Load Debian menu entries require("debian.menu") +-- Load my modules +require("widgets.volume") + -- {{{ Variable definitions -- Themes define colours, icons, and wallpapers beautiful.init(os.getenv ("HOME") .. "/.config/awesome/ni/theme.lua") @@ -80,6 +83,9 @@ mytextclock = awful.widget.textclock({ align = "right" }) -- Create a systray mysystray = widget({ type = "systray" }) +-- Create my widgets +myvolume = widgets.volume() + -- Create a wibox for each screen and add it mywibox = {} mypromptbox = {} @@ -149,6 +155,7 @@ for s = 1, screen.count() do layout = awful.widget.layout.horizontal.leftright }, mylayoutbox[s], + myvolume, mytextclock, s == 1 and mysystray or nil, mytasklist[s], -- cgit v1.2.3