status

statusbar program for dwm
git clone anongit@rnpnr.xyz:status.git
Log | Files | Refs | Feed | README | LICENSE

battery.h (278B)


      1 struct bat_arg {
      2 	char *bat; /* BAT name (ignored on OpenBSD) */
      3 	char *pre; /* prefix for percentages less than thres */
      4 	char *suf; /* suffix for percentages less than thres */
      5 	int thres; /* % threshold to consider low (-1 to disable) */
      6 };
      7 
      8 size_t batinfo(struct Block *b);