~ft/jacksense

Jack sensing output switcher for 9front
add debugging, error traces; increase volume switch delay a bit
turn volume to 0 and set new one a bit later

refs

master
browse  log 

clone

read-only
https://git.sr.ht/~ft/jacksense
read/write
git@git.sr.ht:~ft/jacksense

You can also use your local clone with git send-email.

#jacksense

A small program to track whether headphones are connected to jack or not, and switch between speaker and headphones output accordingly.

It tries to remember the last volume. There are arguments to pass "safe" volumes for both speaker and headphones.

Prerequisites: 9front, Intel HDA.