From 6783f4946cb6d10ae760ff9687bf2127ec1a7a31 Mon Sep 17 00:00:00 2001 From: jopejoe1 <34899572+jopejoe1@users.noreply.github.com> Date: Wed, 29 Jun 2022 10:29:40 +0200 Subject: [PATCH 01/16] Add fltk (#118) --- programs/fltk.json | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 programs/fltk.json diff --git a/programs/fltk.json b/programs/fltk.json new file mode 100644 index 0000000..fa6ec69 --- /dev/null +++ b/programs/fltk.json @@ -0,0 +1,10 @@ +{ + "files": [ + { + "path": "$HOME/.fltk", + "movable": false, + "help": "Currently unsupported.\n\n_Relevant issue:_ https://www.fltk.org/str.php?L3370+P0+S0+C0+I0+E0+V%25+Qxdg\n" + } + ], + "name": "fltk" +} -- 2.47.3 From f02689804934687a6f08714dcf2d17f8361a707e Mon Sep 17 00:00:00 2001 From: jopejoe1 <34899572+jopejoe1@users.noreply.github.com> Date: Wed, 29 Jun 2022 10:30:33 +0200 Subject: [PATCH 02/16] Added config for cmake (#119) * Add cmake * Fixed typo --- programs/cmake.json | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 programs/cmake.json diff --git a/programs/cmake.json b/programs/cmake.json new file mode 100644 index 0000000..970f47f --- /dev/null +++ b/programs/cmake.json @@ -0,0 +1,10 @@ +{ + "files": [ + { + "path": "$HOME/.cmake", + "movable": false, + "help": "Currently unsupported.\n\n_Relevant issue:_ https://gitlab.kitware.com/cmake/cmake/-/issues/22480\n" + } + ], + "name": "cmake" +} -- 2.47.3 From cd8e9fed1941aa0ebc9cefe4f2ebd57d08384e63 Mon Sep 17 00:00:00 2001 From: Hanabishi <13597663+HanabishiRecca@users.noreply.github.com> Date: Wed, 29 Jun 2022 16:11:03 +0500 Subject: [PATCH 03/16] Add help for `.ssh` (#120) --- programs/openssh.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/programs/openssh.json b/programs/openssh.json index 329280f..1ba7b20 100644 --- a/programs/openssh.json +++ b/programs/openssh.json @@ -3,8 +3,8 @@ { "path": "$HOME/.ssh", "movable": false, - "help": "" + "help": "Assumed to be present by many ssh daemons and clients such as **DropBear** and **OpenSSH**." } ], "name": "openssh" -} \ No newline at end of file +} -- 2.47.3 From 8ef1b379b453fdc29094e6ce4a014b93a91c0def Mon Sep 17 00:00:00 2001 From: jopejoe1 <34899572+jopejoe1@users.noreply.github.com> Date: Wed, 29 Jun 2022 17:33:49 +0200 Subject: [PATCH 04/16] Added config for ftb (#122) --- programs/ftb.json | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 programs/ftb.json diff --git a/programs/ftb.json b/programs/ftb.json new file mode 100644 index 0000000..ef967c3 --- /dev/null +++ b/programs/ftb.json @@ -0,0 +1,10 @@ +{ + "files": [ + { + "path": "$HOME/.ftba", + "movable": false, + "help": "Only the instances folder in it is movable.\n" + } + ], + "name": "Feed the Beast" +} -- 2.47.3 From 6b8f221ea01518e4df15346279a3256d8e05647f Mon Sep 17 00:00:00 2001 From: jopejoe1 <34899572+jopejoe1@users.noreply.github.com> Date: Wed, 29 Jun 2022 17:33:59 +0200 Subject: [PATCH 05/16] Add FTB Classic (#121) --- ftb-classic.json | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 ftb-classic.json diff --git a/ftb-classic.json b/ftb-classic.json new file mode 100644 index 0000000..95a4468 --- /dev/null +++ b/ftb-classic.json @@ -0,0 +1,15 @@ +{ + "files": [ + { + "path": "$HOME/.ftb", + "movable": true, + "help": "Change directory path in options.\n" + }, + { + "path": "$HOME/.ftblauncher", + "movable": false, + "help": "Switch to an alternative launcher.\n" + } + ], + "name": "Feed the Beast Classic" +} -- 2.47.3 From c15f26d372fab6b07aa0cbd97b2940b0493dbddf Mon Sep 17 00:00:00 2001 From: Himprakash Deka Date: Wed, 29 Jun 2022 23:09:46 +0530 Subject: [PATCH 06/16] Added config for vscode and code-oss (#123) Co-authored-by: b3nj4m1n --- programs/vscode.json | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/programs/vscode.json b/programs/vscode.json index 19cda79..50796e3 100644 --- a/programs/vscode.json +++ b/programs/vscode.json @@ -3,8 +3,13 @@ { "path": "$HOME/.vscode", "movable": false, - "help": "Currently unsupported.\n\n_Relevant issue:_ https://github.com/microsoft/vscode/issues/3884\n" + "help": "Currently unsupported.\n\n_Relevant issue:_ https://github.com/microsoft/vscode/issues/3884 \n" + }, + { + "path": "$HOME/.vscode-oss", + "movable": false, + "help": "Currently unsupported.\n\n_Relevant issue:_ https://github.com/microsoft/vscode/issues/3884 \n" } ], - "name": "vscode" + "name": "visual studio code" } -- 2.47.3 From 6d57422ed9f49570de06287357e5296d381b62e0 Mon Sep 17 00:00:00 2001 From: jopejoe1 <34899572+jopejoe1@users.noreply.github.com> Date: Fri, 1 Jul 2022 16:33:04 +0200 Subject: [PATCH 07/16] Move ftb-clasic.json into the right folder (#125) * Delete ftb-classic.json * Create ftb-classic.json --- ftb-classic.json => programs/ftb-classic.json | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename ftb-classic.json => programs/ftb-classic.json (100%) diff --git a/ftb-classic.json b/programs/ftb-classic.json similarity index 100% rename from ftb-classic.json rename to programs/ftb-classic.json -- 2.47.3 From 8395f1b61287508b6bee530bddfc1d1a8499690f Mon Sep 17 00:00:00 2001 From: Paulo Caldas Date: Fri, 1 Jul 2022 17:54:50 +0100 Subject: [PATCH 08/16] Added info for .rnd file (#126) As per the "Supported" section in https://wiki.archlinux.org/title/XDG_Base_Directory Co-authored-by: Paulo Caldas --- programs/openssl.json | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 programs/openssl.json diff --git a/programs/openssl.json b/programs/openssl.json new file mode 100644 index 0000000..dfb5d5c --- /dev/null +++ b/programs/openssl.json @@ -0,0 +1,10 @@ +{ + "files": [ + { + "path": "$HOME/.rnd", + "movable": true, + "help": "Export variable RANDFILE for location of random seed file" + } + ], + "name": "openssl" +} -- 2.47.3 From 62dcf7dc4255afaf1c70bcdb6d92597049dfa85d Mon Sep 17 00:00:00 2001 From: Ching Pei Yang <59727193+horriblename@users.noreply.github.com> Date: Tue, 5 Jul 2022 16:22:14 +0200 Subject: [PATCH 09/16] Add info for .zlua file (#127) --- programs/zlua.json | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 programs/zlua.json diff --git a/programs/zlua.json b/programs/zlua.json new file mode 100644 index 0000000..9738228 --- /dev/null +++ b/programs/zlua.json @@ -0,0 +1,10 @@ +{ + "files": [ + { + "path": "$HOME/.zlua", + "movable": true, + "help": "Export the following environment variables:\n\n```bash\nexport _ZL_DATA=\"$XDG_DATA_HOME/zlua\"\n```\n" + } + ], + "name": "zlua" +} -- 2.47.3 From f65562c6ea502c85a3bc8d892b998712c2715322 Mon Sep 17 00:00:00 2001 From: 0WN463 <35750423+0WN463@users.noreply.github.com> Date: Wed, 6 Jul 2022 07:29:17 +0800 Subject: [PATCH 10/16] Some minor changes to README (#128) * Fix typo of $HOME Markdown in README * Use Markdown instead of markdown in README --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 1365abd..9070615 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ This will run every test in the default configuration. ### Optional -- [glow](https://repology.org/project/glow/packages) for rendering markdown in the terminal ([bat](https://repology.org/project/bat-cat/packages), [pygmentize](https://repology.org/project/pygments/versions) or [highlight](https://repology.org/project/highlight/packages) can be used as fallback, but glow's output is clearer and therefore glow is recommended) +- [glow](https://repology.org/project/glow/packages) for rendering Markdown in the terminal ([bat](https://repology.org/project/bat-cat/packages), [pygmentize](https://repology.org/project/pygments/versions) or [highlight](https://repology.org/project/highlight/packages) can be used as fallback, but glow's output is clearer and therefore glow is recommended) ## Configuration @@ -36,7 +36,7 @@ You define a program, and then a list of files and directories which this progra For each file/directory, you specify if it can be (re)moved. -If this is the case, you also specify instructions on how to accomplish this in markdown. +If this is the case, you also specify instructions on how to accomplish this in Markdown. Files in this directory can have any name, but using the name of the program is encouraged. @@ -59,7 +59,7 @@ You can use `cabal build`, `stack build`, or the provided dockerfile in _build/_ We're going to use _git_ as an example. -It puts the file _.gitconfig_ into _$HOME. +It puts the file _.gitconfig_ into _$HOME_. Luckily, the XDG spec is supported by git, so we can simply move the file to _XDG_CONFIG_HOME/git/config_. -- 2.47.3 From 7b1327f76cca74f60fa708ec24b414571d8067ec Mon Sep 17 00:00:00 2001 From: Kobu <63084369+Kobu@users.noreply.github.com> Date: Wed, 6 Jul 2022 19:33:30 +0200 Subject: [PATCH 11/16] Add ghc (#129) --- programs/ghc.json | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 programs/ghc.json diff --git a/programs/ghc.json b/programs/ghc.json new file mode 100644 index 0000000..800aa65 --- /dev/null +++ b/programs/ghc.json @@ -0,0 +1,10 @@ +{ + "files": [ + { + "path": "$HOME/.ghc", + "movable": false, + "help": "Currently unsupported.\n" + } + ], + "name": "GHC" +} -- 2.47.3 From 46d1d01162fd2233bb9971da996eda4463f46a8b Mon Sep 17 00:00:00 2001 From: Nikolas Koesling <66275131+NikolasK-source@users.noreply.github.com> Date: Sat, 9 Jul 2022 00:17:32 +0200 Subject: [PATCH 12/16] add config for ts3client (#131) --- programs/ts3client.json | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 programs/ts3client.json diff --git a/programs/ts3client.json b/programs/ts3client.json new file mode 100644 index 0000000..fcbf710 --- /dev/null +++ b/programs/ts3client.json @@ -0,0 +1,10 @@ +{ + "files": [ + { + "path": "$HOME/.ts3client", + "movable": true, + "help": "Export the following environment variables:\n\n```bash\nexport TS3_CONFIG_DIR=$XDG_CONFIG_HOME/ts3client```\n" + } + ], + "name": "ts3client" +} -- 2.47.3 From dd5ac1721783ff29aaf1b32f2f03c9b64cc2c9cf Mon Sep 17 00:00:00 2001 From: Ignacio Taranto Date: Fri, 8 Jul 2022 19:18:32 -0300 Subject: [PATCH 13/16] Add mongosh config (#130) Co-authored-by: Ignacio Taranto --- programs/mongosh.json | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 programs/mongosh.json diff --git a/programs/mongosh.json b/programs/mongosh.json new file mode 100644 index 0000000..a1f9e81 --- /dev/null +++ b/programs/mongosh.json @@ -0,0 +1,10 @@ +{ + "files": [ + { + "help": "Currently unsupported.\n\n_Relevant issue:_ https://jira.mongodb.org/browse/MONGOSH-1070\n", + "movable": false, + "path": "$HOME/.mongodb" + } + ], + "name": "mongosh" +} -- 2.47.3 From e537b63b188a46df06f761f0c6b7c7838e77d0d6 Mon Sep 17 00:00:00 2001 From: Ethan Kinnear Date: Sun, 10 Jul 2022 08:48:57 -0500 Subject: [PATCH 14/16] Add Homebrew installation info to `README.md` (#133) Co-authored-by: b3nj5m1n <47924309+b3nj5m1n@users.noreply.github.com> --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 9070615..68fa299 100644 --- a/README.md +++ b/README.md @@ -15,10 +15,16 @@ The configurations are from the [arch wiki page on XDG_BASE_DIR](https://wiki.ar ## Running +### Cloning Manually + Clone the repository somewhere, then run the _./xdg-ninja.sh_ script. This will run every test in the default configuration. +### Installing with Homebrew + +To install xdg-ninja with [Homebrew](https://brew.sh), run `brew install xdg-ninja` to install the script and all of its dependencies, then run the `xdg-ninja` command. + ## Dependencies - your favorite POSIX-compliant shell ([bash](https://repology.org/project/bash/packages), [zsh](https://repology.org/project/zsh/packages), [dash](https://repology.org/project/dash-shell/packages), ...) -- 2.47.3 From b4b4102b48be7f4d0b357b0fc13405c6be17c9dd Mon Sep 17 00:00:00 2001 From: Hanabishi <13597663+HanabishiRecca@users.noreply.github.com> Date: Sun, 10 Jul 2022 19:13:35 +0500 Subject: [PATCH 15/16] Fix `.android` info (#124) Co-authored-by: b3nj4m1n --- programs/android-studio.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/programs/android-studio.json b/programs/android-studio.json index c116b36..ce08850 100644 --- a/programs/android-studio.json +++ b/programs/android-studio.json @@ -1,9 +1,9 @@ { "files": [ { - "path": "$HOME/.android", - "movable": true, - "help": "Export the following environment variables:\n\n```bash\nexport ANDROID_HOME=\"$XDG_DATA_HOME\"/android\n```\n" + "help": "Try exporting the following environment variables:\n\n```bash\nexport ANDROID_HOME=\"$XDG_DATA_HOME\"/android\n```\n\n**adb** will always generate \"$HOME/.android/adbkeys\".\n", + "movable": false, + "path": "$HOME/.android" } ], "name": "android-studio" -- 2.47.3 From f2b5ae763e0f22333c1c7e81bb9724b0b62718c7 Mon Sep 17 00:00:00 2001 From: Hanabishi <13597663+HanabishiRecca@users.noreply.github.com> Date: Mon, 11 Jul 2022 04:38:52 +0500 Subject: [PATCH 16/16] Add `Flatpak` (`.var`) info (#134) --- programs/flatpak.json | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 programs/flatpak.json diff --git a/programs/flatpak.json b/programs/flatpak.json new file mode 100644 index 0000000..e8c845b --- /dev/null +++ b/programs/flatpak.json @@ -0,0 +1,10 @@ +{ + "files": [ + { + "path": "$HOME/.var", + "movable": false, + "help": "Currently unsupported.\n\n_Relevant issue:_ https://github.com/flatpak/flatpak/issues/1519\n" + } + ], + "name": "Flatpak" +} -- 2.47.3