Skip to content

Pauses playback for mpris2 compatible media players when the headphones jack unplugs and resumes playback when it is plugged back in.

License

Notifications You must be signed in to change notification settings

nvlgit/headphones-plug-controller

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

icon headphones-plug-controller

License: MIT

headphones-plug-controller - f1u77y/headphones-plug-detector implementation in Vala

Pauses playback for mpris2 compatible media players when the headphones jack unplugs and resumes playback when it is plugged back in.

Building and Installation

git clone https://gitlab.com/nvlgit/headphones-plug-controller.git && cd headphones-plug-controller
meson builddir --prefix=/usr && cd builddir
ninja
su -c 'ninja install'

For rpmbuild: headphones-plug-controller.spec

Run

$ systemctl enable headphones-plug-controller.service --user
$ systemctl start headphones-plug-controller.service --user

About

Pauses playback for mpris2 compatible media players when the headphones jack unplugs and resumes playback when it is plugged back in.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published