summaryrefslogtreecommitdiff
path: root/volume-widget
diff options
context:
space:
mode:
authorPavel Makhov <streetturtle@users.noreply.github.com>2017-03-11 18:24:04 -0500
committerGitHub <noreply@github.com>2017-03-11 18:24:04 -0500
commit89a218f43caa745e44372657ca66ad773524dfb5 (patch)
tree0daafc264357b6492713895cb67d5ab408523819 /volume-widget
parent332075a60353bbe970bba104492e4320e0eb41e8 (diff)
parentfcb8ff3d8622aee6024a07efb7980c586230403d (diff)
Merge pull request #9 from lnkr-a/disable_awful_spawn_startup_notifications
Disable startup notifications for volume control commands
Diffstat (limited to 'volume-widget')
-rw-r--r--volume-widget/volume.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/volume-widget/volume.lua b/volume-widget/volume.lua
index fce3f33..dfcd80d 100644
--- a/volume-widget/volume.lua
+++ b/volume-widget/volume.lua
@@ -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)