[AWESOME] Add widgets
This commit is contained in:
parent
4a8eecbc39
commit
e2c77099b2
3 changed files with 7 additions and 0 deletions
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
[submodule "configs/awesome/awesome-wm-widgets"]
|
||||
path = configs/awesome/awesome-wm-widgets
|
||||
url = https://github.com/streetturtle/awesome-wm-widgets
|
1
configs/awesome/awesome-wm-widgets
Submodule
1
configs/awesome/awesome-wm-widgets
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit ac49ade9951b591e859a470803e166acfa2b7bf2
|
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue