24 lines
894 B
C
24 lines
894 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: xsetroot -name "\x01This is a test"
|
|
* Valid: xsetroot -name "$(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 },
|
|
};
|