aboutsummaryrefslogtreecommitdiffstats
path: root/alsa-utils/xinit
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2024-02-18 13:22:42 +0100
committerMattias Andrée <maandree@kth.se>2024-02-18 13:22:42 +0100
commitc274475635d410c0e9f812e71d20183cb923cd6b (patch)
tree70f59c3b28a36921ea46a93effc565d59e20f43b /alsa-utils/xinit
parentAdd makeenv (diff)
downloaddotfiles-c274475635d410c0e9f812e71d20183cb923cd6b.tar.gz
dotfiles-c274475635d410c0e9f812e71d20183cb923cd6b.tar.bz2
dotfiles-c274475635d410c0e9f812e71d20183cb923cd6b.tar.xz
misc updates
Signed-off-by: Mattias Andrée <maandree@kth.se>
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