diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..c384deb --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "configs/awesome/awesome-wm-widgets"] + path = configs/awesome/awesome-wm-widgets + url = https://github.com/streetturtle/awesome-wm-widgets diff --git a/configs/awesome/awesome-wm-widgets b/configs/awesome/awesome-wm-widgets new file mode 160000 index 0000000..ac49ade --- /dev/null +++ b/configs/awesome/awesome-wm-widgets @@ -0,0 +1 @@ +Subproject commit ac49ade9951b591e859a470803e166acfa2b7bf2 diff --git a/configs/awesome/rc.lua b/configs/awesome/rc.lua index 6fa8cf2..86b3d48 100644 --- a/configs/awesome/rc.lua +++ b/configs/awesome/rc.lua @@ -73,6 +73,8 @@ mykeyboardlayout = awful.widget.keyboardlayout() -- Create a textclock widget mytextclock = wibox.widget.textclock() +local volume_widget = require('awesome-wm-widgets.volume-widget.volume') + -- Create a wibox for each screen and add it local taglist_buttons = gears.table.join(awful.button({}, 1, function(t) t:view_only() @@ -178,6 +180,7 @@ awful.screen.connect_for_each_screen(function(s) s.mytasklist, -- Middle widget { -- Right widgets layout = wibox.layout.fixed.horizontal, + volume_widget(), mykeyboardlayout, wibox.widget.systray(), mytextclock,