From 4947444982f626043409e328eb3f5380065ac097 Mon Sep 17 00:00:00 2001 From: Scott Wallace Date: Sun, 3 Jul 2016 18:19:41 +0100 Subject: [PATCH] Add a simple script to mute the system volume. --- bin/mute | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 bin/mute diff --git a/bin/mute b/bin/mute new file mode 100755 index 0000000..019be0b --- /dev/null +++ b/bin/mute @@ -0,0 +1,6 @@ +#!/bin/bash + +case $(uname -s) in + Darwin) osascript -e "set volume output volume 0" + ;; +esac