From ce2b79884f083d4ecb68b12da0148de2e63f3f09 Mon Sep 17 00:00:00 2001 From: heather7283 <142042427+heather7283@users.noreply.github.com> Date: Mon, 1 Jul 2024 22:23:13 +0400 Subject: [PATCH] add nyx.json (#419) --- programs/nyx.json | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 programs/nyx.json 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" + } + ] +}