diff --git a/module/bat b/module/bat index 7ef687f..a0de3d0 100755 --- a/module/bat +++ b/module/bat @@ -1,6 +1,6 @@ #!/bin/bash -run () { +mod_bat () { # Customizable configuration constants local -r DEFAULT_CNT=1 local -r DEFAULT_PRE_PLG=' ' @@ -53,5 +53,3 @@ run () { printf '%b' "${res:1}" } -run "$@" - diff --git a/module/dt b/module/dt index 576591a..b9696ae 100755 --- a/module/dt +++ b/module/dt @@ -1,6 +1,6 @@ #!/bin/bash -run () { +mod_dt () { # Customizable configuration constants local -r DEFAULT_FMT='%a %d %I:%M%p' local -r DEFAULT_PRE='' @@ -13,5 +13,3 @@ run () { printf '%b%b%b' "${pre}" "$(date +"${fmt}")" "${suf}" } -run "$@" -