Added audio device selector, new notification theme and much more. Rewritten some files and made a new README

This commit is contained in:
Kievits Rene
2022-05-16 16:06:02 +02:00
parent 07b2b9ad4e
commit cc00832342
64 changed files with 4720 additions and 3328 deletions

View File

@@ -15,49 +15,49 @@ local icondir = awful.util.getdir("config") .. "src/assets/icons/power/"
return function()
local power_widget = wibox.widget {
local power_widget = wibox.widget {
{
{
{
{
{
{
{
{
id = "icon",
image = gears.color.recolor_image(icondir .. "power.svg", color["Grey900"]),
widget = wibox.widget.imagebox,
resize = false
},
id = "icon_layout",
widget = wibox.container.place
},
id = "icon_margin",
top = dpi(2),
widget = wibox.container.margin
},
id = "power_layout",
layout = wibox.layout.fixed.horizontal
id = "icon",
image = gears.color.recolor_image(icondir .. "power.svg", color["Grey900"]),
widget = wibox.widget.imagebox,
resize = false
},
id = "container",
left = dpi(8),
right = dpi(8),
widget = wibox.container.margin
id = "icon_layout",
widget = wibox.container.place
},
id = "icon_margin",
top = dpi(2),
widget = wibox.container.margin
},
bg = color["Red200"],
fg = color["Grey800"],
shape = function(cr, width, height)
gears.shape.rounded_rect(cr, width, height, 5)
end,
widget = wibox.container.background
}
id = "power_layout",
layout = wibox.layout.fixed.horizontal
},
id = "container",
left = dpi(8),
right = dpi(8),
widget = wibox.container.margin
},
bg = color["Red200"],
fg = color["Grey800"],
shape = function(cr, width, height)
gears.shape.rounded_rect(cr, width, height, 5)
end,
widget = wibox.container.background
}
-- Signals
Hover_signal(power_widget, color["Red200"])
-- Signals
Hover_signal(power_widget, color["Red200"])
power_widget:connect_signal(
"button::release",
function()
awesome.emit_signal("module::powermenu:show")
end
)
power_widget:connect_signal(
"button::release",
function()
awesome.emit_signal("module::powermenu:show")
end
)
return power_widget
return power_widget
end