Update volume.lua

This commit is contained in:
Pavel Makhov 2017-02-12 21:05:14 -05:00 committed by GitHub
parent 622607c874
commit 9fbcb2e540
1 changed files with 3 additions and 3 deletions

View File

@ -7,8 +7,8 @@ local path_to_icons = "/usr/share/icons/Arc/status/symbolic/"
volume_widget = wibox.widget { volume_widget = wibox.widget {
{ {
id = "icon", id = "icon",
image = path_to_icons .. "audio-volume-muted-symbolic.svg", image = path_to_icons .. "audio-volume-muted-symbolic.svg",
resize = false, resize = false,
widget = wibox.widget.imagebox, widget = wibox.widget.imagebox,
}, },
layout = wibox.container.margin(brightness_icon, 0, 0, 3), layout = wibox.container.margin(brightness_icon, 0, 0, 3),
@ -17,7 +17,7 @@ volume_widget = wibox.widget {
end end
} }
--[[ allows control volume level by --[[ allows control volume level by:
- clicking on the widget to mute/unmute - clicking on the widget to mute/unmute
- scrolling when curson is over the widget - scrolling when curson is over the widget
]] ]]