Alsamixer fix: --view=all.

This commit is contained in:
Kolan Sh 2016-09-26 13:31:18 +03:00
parent 57fbcb3d93
commit 06fc3aed7d
1 changed files with 2 additions and 2 deletions

4
wi.lua
View File

@ -72,7 +72,7 @@ volicon = wibox.widget.imagebox()
volicon:set_image(beautiful.widget_vol) volicon:set_image(beautiful.widget_vol)
volicon:buttons( volicon:buttons(
awful.util.table.join( awful.util.table.join(
awful.button({ }, 1, function () awful.util.spawn("urxvt -e alsamixer -- --no-color --view=all") end), awful.button({ }, 1, function () awful.util.spawn("urxvt -e alsamixer --view=all") end),
awful.button({ }, 4, function () awful.util.spawn("amixer set Master 1%+") end), awful.button({ }, 4, function () awful.util.spawn("amixer set Master 1%+") end),
awful.button({ }, 5, function () awful.util.spawn("amixer set Master 1%-") end) awful.button({ }, 5, function () awful.util.spawn("amixer set Master 1%-") end)
) )
@ -80,7 +80,7 @@ volicon:buttons(
volpct = wibox.widget.textbox() volpct = wibox.widget.textbox()
volpct:buttons( volpct:buttons(
awful.util.table.join( awful.util.table.join(
awful.button({ }, 1, function () awful.util.spawn("urxvt -e alsamixer -- --no-color --view=all") end), awful.button({ }, 1, function () awful.util.spawn("urxvt -e alsamixer --view=all") end),
awful.button({ }, 4, function () awful.util.spawn("amixer set Master 1%+") end), awful.button({ }, 4, function () awful.util.spawn("amixer set Master 1%+") end),
awful.button({ }, 5, function () awful.util.spawn("amixer set Master 1%-") end) awful.button({ }, 5, function () awful.util.spawn("amixer set Master 1%-") end)
) )