aboutsummaryrefslogtreecommitdiffstats
path: root/alsa-utils/xinit
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--alsa-utils/xinit6
1 files changed, 6 insertions, 0 deletions
diff --git a/alsa-utils/xinit b/alsa-utils/xinit
new file mode 100644
index 0000000..bd9b579
--- /dev/null
+++ b/alsa-utils/xinit
@@ -0,0 +1,6 @@
+# -*- shell-script -*-
+
+# Mute speakers and use headphones if using a work computer (TODO if on a laptop)
+if iswork; then
+ headphones || :
+fi