1
0
Fork 0
mirror of https://github.com/lcpz/awesome-copycats.git synced 2024-10-22 20:41:22 +00:00

lain: new commit!

This commit is contained in:
copycat-killer 2017-01-23 15:56:28 +01:00
parent 6110986cca
commit e6192e6fae
4 changed files with 6 additions and 4 deletions

View file

@ -1,4 +1,3 @@
If you have an issue If you have an issue
-------------------- --------------------

2
lain

@ -1 +1 @@
Subproject commit f82f0ed20542258833e866c8f33bc54c57c3b863 Subproject commit ff61857e157b8f32e861016a6f151a7d1ddcd2da

View file

@ -280,7 +280,7 @@ local fswidget = wibox.container.margin(fsbg, 2, 7, 4, 4)
local volicon = wibox.widget.imagebox(beautiful.vol) local volicon = wibox.widget.imagebox(beautiful.vol)
local volume = lain.widgets.alsabar({ local volume = lain.widgets.alsabar({
width = 59, border_width = 0, ticks = true, ticks_size = 6, step = "2%", width = 59, border_width = 0, ticks = true, ticks_size = 6, step = "2%",
--togglechannel = "IEC958,3", notification_preset = { font = beautiful.font },
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)

View file

@ -212,7 +212,10 @@ local fshome = lain.widgets.fs({
}) })
-- ALSA volume bar -- ALSA volume bar
local volume = lain.widgets.alsabar({ ticks = true, width = 67 }) local volume = lain.widgets.alsabar({
ticks = true, width = 67,
notification_preset = { font = beautiful.font }
})
local volumebg = wibox.container.background(volume.bar, "#585858", shape.rectangle) local volumebg = wibox.container.background(volume.bar, "#585858", shape.rectangle)
local volumewidget = wibox.container.margin(volumebg, 7, 7, 5, 5) local volumewidget = wibox.container.margin(volumebg, 7, 7, 5, 5)