Skip to content

JanValiska/ZmkBatteryClient

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Zmk battery client

Zmk client connects to specified device and produces json output usable in custom waybar module. Application retrieves battery levels of all parts of keyboard(both halves in case of split keeb). The output text is battery percentage of keyboard half with lower value. The tooltip contains battery levels of all keyboard parts.

Usage

Put custom zmk module in waybar:


  "custom/zmk": {
    "format": "   {}",
    "tooltip": true,
    "interval": 300,
    "exec": "ZmkBatteryClient E1:E2:69:AB:CE:90",
    "return-type": "json"
  },

Plan

  • By default produce general json output usable for another applications
  • Produce waybar json output only if flag specified(--waybar)

About

Waybar custom module for ZMK powered keyboards

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages