Merge pull request #9 from lnkr-a/disable_awful_spawn_startup_notifications

Disable startup notifications for volume control commands
This commit is contained in:
Pavel Makhov 2017-03-11 18:24:04 -05:00 committed by GitHub
commit 89a218f43c
1 changed files with 3 additions and 3 deletions

View File

@ -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)