Disable startup notifications for volume control commands
This commit is contained in:
parent
332075a603
commit
fcb8ff3d86
|
@ -23,11 +23,11 @@ volume_widget = wibox.widget {
|
|||
]]
|
||||
volume_widget:connect_signal("button::press", function(_,_,_,button)
|
||||
if (button == 4) then
|
||||
awful.spawn("amixer -D pulse sset Master 5%+")
|
||||
awful.spawn("amixer -D pulse sset Master 5%+", false)
|
||||
elseif (button == 5) then
|
||||
awful.spawn("amixer -D pulse sset Master 5%-")
|
||||
awful.spawn("amixer -D pulse sset Master 5%-", false)
|
||||
elseif (button == 1) then
|
||||
awful.spawn("amixer -D pulse sset Master toggle")
|
||||
awful.spawn("amixer -D pulse sset Master toggle", false)
|
||||
end
|
||||
end)
|
||||
|
||||
|
|
Loading…
Reference in New Issue