mirror of
https://github.com/lcpz/awesome-copycats.git
synced 2024-12-23 03:32:30 +00:00
lain: new commit
This commit is contained in:
parent
4927c88f8e
commit
cf91c9636d
2
lain
2
lain
|
@ -1 +1 @@
|
||||||
Subproject commit b521dbdc8b305bc9580fe6a17d847fe5e1e22cd0
|
Subproject commit e0b6dd443ce1895e668313a93939f489fbd2ea05
|
|
@ -231,7 +231,7 @@ diskwidget:set_bgimage(beautiful.widget_bg)
|
||||||
|
|
||||||
-- ALSA volume bar
|
-- ALSA volume bar
|
||||||
volicon = wibox.widget.imagebox(beautiful.vol)
|
volicon = wibox.widget.imagebox(beautiful.vol)
|
||||||
volume = lain.widgets.alsabar({width = 55, ticks_size = 6,
|
volume = lain.widgets.alsabar({width = 55, ticks = true, ticks_size = 6,
|
||||||
settings = function()
|
settings = function()
|
||||||
if volume_now.status == "off" then
|
if volume_now.status == "off" then
|
||||||
volicon:set_image(beautiful.vol_mute)
|
volicon:set_image(beautiful.vol_mute)
|
||||||
|
|
|
@ -239,6 +239,7 @@ batwidget = lain.widgets.bat({
|
||||||
|
|
||||||
-- ALSA volume bar
|
-- ALSA volume bar
|
||||||
myvolumebar = lain.widgets.alsabar({
|
myvolumebar = lain.widgets.alsabar({
|
||||||
|
ticks = true,
|
||||||
width = 80,
|
width = 80,
|
||||||
height = 10,
|
height = 10,
|
||||||
colors = {
|
colors = {
|
||||||
|
|
|
@ -185,7 +185,7 @@ fshome = lain.widgets.fs({
|
||||||
})
|
})
|
||||||
|
|
||||||
-- ALSA volume bar
|
-- ALSA volume bar
|
||||||
volume = lain.widgets.alsabar()
|
volume = lain.widgets.alsabar({ ticks = true })
|
||||||
volmargin = wibox.layout.margin(volume.bar, 5, 8, 80)
|
volmargin = wibox.layout.margin(volume.bar, 5, 8, 80)
|
||||||
volmargin:set_top(7)
|
volmargin:set_top(7)
|
||||||
volmargin:set_bottom(7)
|
volmargin:set_bottom(7)
|
||||||
|
|
Loading…
Reference in a new issue