[rc/{xdg,zathura}] migrate XDG dirs and zathura configs to new setup
[~bandali/configs] / other / acpid / jack.sh
... / ...
CommitLineData
1#!/bin/bash
2# acpi script that takes an entry for headphone actions
3
4case "$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 ;;
15esac
16
17# vim:set ts=4 sw=4 ft=sh et: