projects
/
~bandali
/
configs
/ blame_incremental
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blob
|
blame
(non-incremental) |
history
|
HEAD
[rc/zsh] migrate my zsh setup to rc.org
[~bandali/configs]
/
other
/
acpid
/
jack.sh
This page requires JavaScript to run. Use
this page
instead.
... / ...
Commit
Line
Data
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: