You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
jojii a9270d23a6
update dependencies
3 months ago
.github/workflows update gh actions 7 months ago
.imgs update images 7 months ago
scripts Update polybar.sh 4 months ago
src add human_panic 4 months ago
.gitignore implement basics of the socket API 8 months ago
Cargo.lock update dependencies 3 months ago
Cargo.toml update dependencies 3 months ago
LICENSE Create LICENSE 8 months ago
README.md Update README.md 5 months ago
config.example.toml add config.example.toml 7 months ago
renovate.json Add renovate.json 8 months ago

README.md

PRs ci/cd crates earbuds earbuds-git

LiveBudsCli

A free cli tool to control your Galaxy buds live and Galaxy Buds+


Features

  • Equalizer, touchpad-lock and anc/ambient sound control
  • Basic Buds status (battery, anc/ambient sound, current equalizer setting, ...)
  • Changing touchpad tap action
  • Advanced status informations (battery voltage/current, temperature)
  • Auto music play/pause on bud remove (via mpris)
  • Automatic sink switch (pulseaudio) [feature: pulse-sink, used by default]
  • Desktop notifications (for low battery)
  • Bash completion (for every shell)
  • Connect/Disconnect your earbuds easily with a subcommand
  • Multiple device support
  • Individual device configs
  • Json output for scripts (via jq)
  • Change config options from cli

Install

Pacman repo

You can get it precompiled from my pacman repository

AUR

yay -S earbuds

Compilation

Requirements (make depends)

Arch: bluez-libs libpulse dbus
Fedora: dbus-devel bluez-libs-devel

Run following command:

cargo install earbuds

Polybar

Polybar
You can display the status of your buds live in your polybar with this script
To achieve this, you have to add following to your polybar config and move the script into your polybar script folder. Don't forget to add buds to the modules section.

[module/buds]
type = custom/script
interval = 8
label = %output%
exec = ~/.config/polybar/scripts/polybar.sh
click-middle = earbuds toggle anc
click-right = earbuds toggle touchpadlock

Usage

To get most of the features listed above, you need to have a daemon instance running (earbuds -d). If you run one of the commands listed below, the daemon automatically gets started.

Status informations:

earbuds status

Set equalizer to Bass boost

earbuds set equalizer bass

Enable ANC

earbuds enable anc

Change ambient sound

earbuds set ambientsound <0-4> # 0: off 4: highest

Toggle noise reduction or the touchpad lock

earbuds toggle anc/touchpad

Get status in json format

earbuds status -o json

Set the left touchpad tap command to spotify

earbuds set tap-action spotify left

Connect/disconnect:

earbuds connect/disconnect

To debug the daemon run:

earbuds -k -d --no-fork

This kills the currently running daemon, creates a new one and starts it in the foreground.