Style: Remove unnecessary declare statements

This commit is contained in:
Narvin Singh 2020-12-29 22:32:16 -05:00
parent a071b38a9d
commit 7a2f2bbf08

6
xrsbs
View File

@ -1,6 +1,6 @@
#!/bin/bash #!/bin/bash
declare -r USAGE=" USAGE="
USAGE: xrsbs <action> [<when>] [<repeat>] USAGE: xrsbs <action> [<when>] [<repeat>]
action A comma or space separated list of actions to associate with the action A comma or space separated list of actions to associate with the
@ -36,8 +36,8 @@ EXAMPLES:
xrsbs 'bat,dt' m true xrsbs 'bat,dt' m true
" "
declare -r DAEMON=xrsbd DAEMON=xrsbd
declare -r ACTION_DIR=/tmp/xrsb-action/ ACTION_DIR=/tmp/xrsb-action/
# Convert integer milliseconds to floating point seconds # Convert integer milliseconds to floating point seconds
ms_to_s () { ms_to_s () {