summaryrefslogtreecommitdiff
path: root/rc.lua
diff options
context:
space:
mode:
authorNicolas Schodet2011-03-28 19:00:50 +0200
committerNicolas Schodet2011-03-28 19:00:50 +0200
commitc047d077189127f8086cb05d1364e4107149bdc9 (patch)
treef5583ca9f2caba234703222f1e212bab1a42234e /rc.lua
parentb385090be29a26dd1a1173430c9cfb5ca2514d28 (diff)
add volume widget
Diffstat (limited to 'rc.lua')
-rw-r--r--rc.lua7
1 files changed, 7 insertions, 0 deletions
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],