Remove playerctl from dependencies and add pactl providers

This commit is contained in:
Elara 2021-11-24 16:50:35 -08:00
parent 2a3df6bcf8
commit e5c4279346

View File

@ -15,28 +15,26 @@ This library's import path is `go.arsenm.dev/infinitime`.
### Dependencies
This library requires `dbus`, `bluez`, `playerctl`, and `pactl` to function. The first two are for bluetooth, and the last two for music control.
This library requires `dbus`, `bluez`, and `pactl` to function. The first two are for bluetooth, and the last two for music control.
#### Arch
```shell
sudo pacman -S dbus bluez playerctl --needed
sudo pacman -S dbus bluez libpulse --needed
```
#### Debian/Ubuntu
```shell
sudo apt install dbus bluez playerctl
sudo apt install dbus bluez pulseaudio-utils
```
#### Fedora
```shell
sudo dnf install dbus bluez playerctl
sudo dnf install dbus bluez pulseaudio-utils
```
`pactl` comes with `pulseaudio` or `pipewire-pulse` and should therefore be installed on most systems already.
---
### Features