]> git.rmz.io Git - dotfiles.git/blobdiff - awesome/topbar.lua
add volume widget
[dotfiles.git] / awesome / topbar.lua
index c0b6ee7ba9fde8b778a21e7b8eaf64221a7260ba..84a7b5a29edecd2e4417d5d4a3f027e50c26ee64 100644 (file)
@@ -1,3 +1,8 @@
+-- Widget and layout library
+wibox = require("wibox")
+-- my widgets
+require("widgets")
+
 -- {{{ Wibox
 -- Create a textclock widget
 mytextclock = awful.widget.textclock()
@@ -82,6 +87,7 @@ for s = 1, screen.count() do
     local right_layout = wibox.layout.fixed.horizontal()
     if s == 1 then right_layout:add(wibox.widget.systray()) end
     --right_layout:add(APW)
+    right_layout:add(volwidget)
     right_layout:add(mytextclock)
     right_layout:add(mylayoutbox[s])