Skip to content

Adding a battery percentage panel for headsetcontrol supported headsets to gnomes top bar or suckless slstatus

License

Notifications You must be signed in to change notification settings

LarsVomMars/hsctrl2X

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hsctrl2X

Based on headsetcontrol hsctrl2X creates a battery percentage panel for gnome via KStatusNotifierItem/AppIndicator or for slstatus.

Requirements

Gnome

slstatus

Setup

Gnome

  • Update MAX_BATTERY_LIFE accordingly to your headset
  • Install requirements
  • Test: python hsctrl2gnome.py or ./hsctrl2gnome.py
  • If everything works: Run ./setup which will add hsctrl2gnome to gnome's autostart

slstatus

  • Update MAX_BATTERY accordingly to your headset
  • Add headsetcontrol.c to slstatus/components/ and add it to slstatus/Makefile
  • Re$ make and re# make install slstatus
  • Restart slstatus

Have fun!

Idea and credits

This is a simplified version of headset-charge-indicator

About

Adding a battery percentage panel for headsetcontrol supported headsets to gnomes top bar or suckless slstatus

Topics

Resources

License

Stars

Watchers

Forks