speedwm-personal/statusbar.h
2022-10-15 02:29:27 +02:00

24 lines
886 B
C

/* Commands that will run when a part of the status bar is pressed. You can add:
* '\x<num>
* before you print anything. Keep in mind <num> MUST be two digits.
*
* It must also be wrapped in a printf. Example:
*
* Invalid: speedwm -s "\x01This is a test"
* Valid: speedwm -s "$(printf '\x01This is a test')"
*
* As for the modules here, they are only compatible with the built-in status bar by default.
* You may add support in your own bar, though.
*/
static const StatusCmd statuscmds[] = {
{ "module_ram", 1 },
{ "module_time", 2 },
{ "module_date", 3 },
{ "module_vol", 4 },
{ "module_weather", 5 },
{ "module_net", 6 },
{ "module_dfmpeg", 7 },
{ "module_temp", 8 },
{ "module_music", 9 },
};