add CUSOTM_IDs to make toc links work in Emacs
[~bandali/configs] / other / acpid / jack.sh
1 #!/bin/bash
2 # acpi script that takes an entry for headphone actions
3
4 case "$1" in
5 jack/headphone)
6 case "$3" in
7 plug)
8 echo "⮜" > /tmp/spkicon
9 ;;
10 unplug)
11 echo "⮟" > /tmp/spkicon
12 ;;
13 esac
14 ;;
15 esac
16
17 # vim:set ts=4 sw=4 ft=sh et: