From: heather7283 <142042427+heather7283@users.noreply.github.com> Date: Mon, 1 Jul 2024 18:23:13 +0000 (+0400) Subject: add nyx.json (#419) X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/xdg-ninja.git/commitdiff_plain/ce2b79884f083d4ecb68b12da0148de2e63f3f09?ds=inline add nyx.json (#419) --- diff --git a/programs/nyx.json b/programs/nyx.json new file mode 100644 index 0000000..8d78913 --- /dev/null +++ b/programs/nyx.json @@ -0,0 +1,10 @@ +{ + "name": "nyx", + "files": [ + { + "path": "$HOME/.nyx", + "movable": true, + "help": "First, create a _$XDG_CONFIG_HOME/nyxrc_ file with the following content:\n\n```\ndata_directory ~/.cache/nyx\n```\nNote that you can't use variable substitution inside nyxrc, so you will have to hardcode your _XDG_CACHE_HOME_.\nAlternatively, disable caching to disk:\n\n```\ndata_directory disabled\n```\nFinally, in your shell startup file:\n\n```sh\nalias nyx=\"nyx --config $XDG_CONFIG_HOME/nyxrc\"\n```\nSource: https://nyx.torproject.org/#configuration\n" + } + ] +}