• Stars
    star
    175
  • Rank 218,059 (Top 5 %)
  • Language
    Rust
  • License
    GNU General Publi...
  • Created about 4 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A tool to control your Galaxy buds+, live and pro (beta) from linux

PRs ci/cd crates earbuds earbuds-git

LiveBudsCli

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

Note: This requires your buds to be up to date. Buds with old firmware aren't supported


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

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 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.

More Repositories

1

Matrix-EmailBridge

A bridge written in Golang to receive and write emails in matrix
Go
111
star
2

rsv

The runit sv command rewritten in rust with additional features
Rust
69
star
3

Matrix-ClientServer-API-java

A small and simple java API for the Matrix ClientServer Protocol
Java
36
star
4

ZimWiki

A fast and lightweight alternative to kiwix-serve
Go
15
star
5

Matrix-Grep-Bot

A Matrix bot to use grep for searching in large messages
Java
12
star
6

GalaxyBuds-rs

A rust wrapper for the GalaxyBudsLive bt protocol
Rust
11
star
7

jisho-cli

A very simple cli tool to look up Japanese words using jisho.org
Rust
10
star
8

MediaD

A Simple and lightweight daemon to handle keyboard media buttons easily
Rust
5
star
9

Japanese_Inflections

A small rust library to conjugate Japanese words
Rust
5
star
10

ScanBanServer

The server for the triplink-system to collect hackers and webscanner across the internet
Go
4
star
11

Reverseproxy

A high performance reverse proxy written in go
Go
3
star
12

Triplink

Listens for incoming port scans and reports the IPs to the ScanBanServer
Go
3
star
13

Tripwire

Create iptable rules to log connections on a specific port
Go
3
star
14

bluetooth-serial-port-async

Interact with Bluetooth devices via RFCOMM channels asynchronously
Rust
3
star
15

TelegramNewsbot

A bot for telegram which sends news for a given country into a channel
Go
3
star
16

Iptables-log-parser

A parser for logs generated by iptables and Tripwire
Go
3
star
17

SSH-Desktop-remote

A cli tool to control a Linux Desktop environment from a different machine
Go
2
star
18

nanisore

Look up japanese text from a screenshot
2
star
19

WhatsappTimeSaver

A bot to reduce useless SmallTalk by answering useless messages
Go
2
star
20

shred

Shredder some files
Go
2
star
21

yayim

Arch linux yay aur helper with personal improvements
Go
2
star
22

YAKB

Yet another karma bot
Go
1
star
23

gaw

GoAwesomeFunctions - A collection of helpful golang functions
Go
1
star
24

Golang-Templates

A collection of templates for go apps
Go
1
star
25

cargo-linked

Display linked packages for compiled rust binaries
Rust
1
star
26

TripPHP

A PHP client for the triplink system
PHP
1
star
27

CompressedVec

An up to 8x compressed Vec<u32>
Rust
1
star
28

FolderActions

A simple tool for linux which allows to run scripts on fs changes
Go
1
star
29

Anki-Jotoba-addon

Jotoba addon for Anki
Python
1
star
30

EasyService

A cli tool to create an systemd service easily
Go
1
star
31

KanjiSRS

SRS tool to learn kanji
Rust
1
star
32

GoLogServer

A simple but powerful centralized logging solution written in go
Go
1
star
33

SystemdGoService

Create, edit, start, stop, enable and disable systemd services easily with Go
Go
1
star