1
0
Fork 0

[AWESOME] Add widgets

This commit is contained in:
Florian RICHER 2022-01-10 20:47:15 +01:00
parent 4a8eecbc39
commit e2c77099b2
3 changed files with 7 additions and 0 deletions

3
.gitmodules vendored Normal file
View 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

@ -0,0 +1 @@
Subproject commit ac49ade9951b591e859a470803e166acfa2b7bf2

View file

@ -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,