Merge pull request #9 from lnkr-a/disable_awful_spawn_startup_notifications
Disable startup notifications for volume control commands
This commit is contained in:
commit
89a218f43c
|
@ -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