Conky: Actually generate the config in the right place
This commit is contained in:
parent
78bf8c25e0
commit
f5f62c9c53
@ -17,7 +17,7 @@ set -e
|
|||||||
# Read-only set-once variables
|
# Read-only set-once variables
|
||||||
declare -r _name="$(basename -- "$0")"
|
declare -r _name="$(basename -- "$0")"
|
||||||
# Options
|
# Options
|
||||||
declare _optout="./conky.conf"
|
declare _optout="${XDG_CONFIG_HOME:-$HOME/.config}/conky/conky.conf"
|
||||||
declare -i _opthelp
|
declare -i _opthelp
|
||||||
declare -i _optverbose
|
declare -i _optverbose
|
||||||
# Working variables
|
# Working variables
|
||||||
@ -76,7 +76,8 @@ printhelp() {
|
|||||||
Usage: $_name [OPTION]...
|
Usage: $_name [OPTION]...
|
||||||
Generate a conky.conf configuration file in the current directory
|
Generate a conky.conf configuration file in the current directory
|
||||||
|
|
||||||
-o Specify output file. Defaults to ./conky.conf
|
-o Specify output file. Defaults to
|
||||||
|
~/.config/conky/conky.conf
|
||||||
-h Print this help text
|
-h Print this help text
|
||||||
-v Print more status messages. Stacks
|
-v Print more status messages. Stacks
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user