Feat: Rename module directory to mod

This is a breaking change so this will be a new major version.
This commit is contained in:
Narvin Singh 2020-12-31 13:50:52 -05:00
parent 59b3d77547
commit 7d21134068
8 changed files with 2 additions and 2 deletions

View File

@ -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
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
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
the module list parameter and include the name of your script in the

2
avdd
View File

@ -43,7 +43,7 @@ DEFAULT_PRE=' '
DEFAULT_SEP_L='| '
DEFAULT_SEP_R=' '
DEFAULT_SUF=' '
MOD_DIR="$(dirname "$0")"/module
MOD_DIR="$(dirname "$0")"/mod
ACTION_DIR=/tmp/avdd
ACTION_DIR_LEN=${#ACTION_DIR}

View File

View File

View File

View File

View File