Module helpers

Module helpers 

Source
Expand description

Helper functions for obtaining system information for use in status bar widgets

Functions§

amixer_text
Parse the current volume as a percentage from amixer.
battery_file_search
This finds the first battery (BAT) file it finds; so far only confirmed working on Linux.
battery_text
Fetch the requested battery’s charge as a percentage of its total along with an indicator of whether it is charging or discharging.
date_text
Fetch the current date and time in YYYY-MM-DD HH:MM format using the date command line program.
wifi_text
Fetch the active ESSID and associated signal quality for the active wifi network.