]> glassweightruler.freedombox.rocks Git - xdg-ninja.git/commitdiff
add nyx.json (#419)
authorheather7283 <142042427+heather7283@users.noreply.github.com>
Mon, 1 Jul 2024 18:23:13 +0000 (22:23 +0400)
committerGitHub <noreply@github.com>
Mon, 1 Jul 2024 18:23:13 +0000 (20:23 +0200)
programs/nyx.json [new file with mode: 0644]

diff --git a/programs/nyx.json b/programs/nyx.json
new file mode 100644 (file)
index 0000000..8d78913
--- /dev/null
@@ -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"
+        }
+    ]
+}