Feat: Rename module directory to mod
This is a breaking change so this will be a new major version.
This commit is contained in:
parent
59b3d77547
commit
7d21134068
@ -101,7 +101,7 @@ replaced with underscores. For instance, if your module file is called
|
|||||||
`weather-wttr`, it should contain a function called `mod_weather_wttr`. This
|
`weather-wttr`, it should contain a function called `mod_weather_wttr`. This
|
||||||
function should print to stdout whatever you want to appear in its section
|
function should print to stdout whatever you want to appear in its section
|
||||||
of the status bar (so it should be concise with no newline characters). Then
|
of the status bar (so it should be concise with no newline characters). Then
|
||||||
place your script in the `module` directory.
|
place your script in the `mod` directory.
|
||||||
|
|
||||||
To include your module output in the status bar, start the daemon with
|
To include your module output in the status bar, start the daemon with
|
||||||
the module list parameter and include the name of your script in the
|
the module list parameter and include the name of your script in the
|
||||||
|
2
avdd
2
avdd
@ -43,7 +43,7 @@ DEFAULT_PRE=' '
|
|||||||
DEFAULT_SEP_L='| '
|
DEFAULT_SEP_L='| '
|
||||||
DEFAULT_SEP_R=' '
|
DEFAULT_SEP_R=' '
|
||||||
DEFAULT_SUF=' '
|
DEFAULT_SUF=' '
|
||||||
MOD_DIR="$(dirname "$0")"/module
|
MOD_DIR="$(dirname "$0")"/mod
|
||||||
ACTION_DIR=/tmp/avdd
|
ACTION_DIR=/tmp/avdd
|
||||||
ACTION_DIR_LEN=${#ACTION_DIR}
|
ACTION_DIR_LEN=${#ACTION_DIR}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user