summaryrefslogtreecommitdiff
path: root/utils.lua
diff options
context:
space:
mode:
Diffstat (limited to 'utils.lua')
-rw-r--r--utils.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/utils.lua b/utils.lua
index 77f2b54..01bd70f 100644
--- a/utils.lua
+++ b/utils.lua
@@ -35,6 +35,10 @@ function M.vol_control(n)
awful.spawn(cmd)
end
+function M.vol_mute_toggle()
+ awful.spawn("amixer -q set Master toggle")
+end
+
function M.spawn_current(command)
awful.spawn(command, {tag = mouse.screen.selected_tag})
end