From: b3nj5m1n <47924309+b3nj5m1n@users.noreply.github.com> Date: Sun, 7 Jan 2024 07:37:45 +0000 (+0100) Subject: Merge pull request #318 from b3nj5m1n/fix-missing-program X-Git-Tag: v0.2.0.2~4 X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/xdg-ninja.git/commitdiff_plain/ff5ea3a9dc4842a6a63b899447a634ae28afca6e?hp=21c63ce61774745cea0d73f1380d54489849a031 Merge pull request #318 from b3nj5m1n/fix-missing-program Fix skipping one program during check --- diff --git a/mycli.json b/mycli.json new file mode 100644 index 0000000..13febf4 --- /dev/null +++ b/mycli.json @@ -0,0 +1,20 @@ +{ + "files": [ + { + "help": "Move the file to $XDG_CONFIG_HOME/mycli/myclirc\n", + "movable": true, + "path": "$HOME/.myclirc" + }, + { + "help": "Set MYCLI_HISTFILE to $XDG_STATE_HOME/mycli/mycli_history\n", + "movable": true, + "path": "$HOME/.mycli-history" + }, + { + "help": "Set this in your myclirc:\n```log_file=~/.cache/mycli.log```\nDoes not work with enviorment variables\n Relevant issue : https://github.com/dbcli/mycli/issues/581\n", + "movable": true, + "path": "$HOME/.mycli.log" + } + ], + "name": "mycli" +} diff --git a/programs/boinc.json b/programs/boinc.json new file mode 100644 index 0000000..220c91c --- /dev/null +++ b/programs/boinc.json @@ -0,0 +1,15 @@ +{ + "files": [ + { + "path": "$HOME/.BOINC", + "movable": false, + "help": "Currently not supported.\n\nhttps://github.com/BOINC/boinc/blob/b978d5c14aab539116b885deebe30aa62d538fba/lib/diagnostics.cpp#L302-L303\n" + }, + { + "path": "$HOME/.BOINC Manager", + "movable": false, + "help": "Currently not supported.\n" + } + ], + "name": "BOINC" +} diff --git a/programs/dropbox.json b/programs/dropbox.json new file mode 100644 index 0000000..38c9882 --- /dev/null +++ b/programs/dropbox.json @@ -0,0 +1,15 @@ +{ + "name": "Dropbox", + "files": [ + { + "path": "$HOME/.dropbox", + "movable": false, + "help": "Currently unsupported.\n\n_Relevant issue_: https://github.com/dropbox/nautilus-dropbox/issues/5\n" + }, + { + "path": "$HOME/.dropbox-dist", + "movable": false, + "help": "Currently unsupported.\n\n_Relevant issue_: https://github.com/dropbox/nautilus-dropbox/issues/5\n" + } + ] +} diff --git a/programs/earthly.json b/programs/earthly.json new file mode 100644 index 0000000..599fed0 --- /dev/null +++ b/programs/earthly.json @@ -0,0 +1,11 @@ + +{ + "name": "earthly", + "files": [ + { + "path": "$HOME/.earthly", + "movable": false, + "help": "Currently unsupported.\n\n_Relevant issue_: https://github.com/earthly/earthly/issues/2210\n" + } + ] +} diff --git a/programs/erlang.json b/programs/erlang.json new file mode 100644 index 0000000..01b3c7b --- /dev/null +++ b/programs/erlang.json @@ -0,0 +1,10 @@ +{ + "name": "erlang", + "files": [ + { + "path": "$HOME/.erlang.cookie", + "movable": true, + "help": "Erlang supports the XDG spec, so just move this file to _$XDG_CONFIG_HOME/erlang/.erlang.cookie_.\n\n" + } + ] +} diff --git a/programs/flatpak.json b/programs/flatpak.json index e8c845b..a8466d3 100644 --- a/programs/flatpak.json +++ b/programs/flatpak.json @@ -3,7 +3,7 @@ { "path": "$HOME/.var", "movable": false, - "help": "Currently unsupported.\n\n_Relevant issue:_ https://github.com/flatpak/flatpak/issues/1519\n" + "help": "Currently unsupported.\n\n_Relevant issue:_ https://github.com/flatpak/flatpak/issues/3997\n" } ], "name": "Flatpak" diff --git a/programs/flyctl.json b/programs/flyctl.json new file mode 100644 index 0000000..95a2249 --- /dev/null +++ b/programs/flyctl.json @@ -0,0 +1,10 @@ +{ + "name": "flyctl", + "files": [ + { + "path": "$HOME/.fly", + "movable": false, + "help": "Currently unsupported.\n\n_Merge Request_: https://github.com/superfly/flyctl/pull/2785\n" + } + ] +} diff --git a/programs/ghc.json b/programs/ghc.json index 800aa65..9ab5816 100644 --- a/programs/ghc.json +++ b/programs/ghc.json @@ -3,7 +3,7 @@ { "path": "$HOME/.ghc", "movable": false, - "help": "Currently unsupported.\n" + "help": "Supported starting with v9.4.1\n\nhttps://downloads.haskell.org/~ghc/9.4.1/docs/users_guide/9.4.1-notes.html?highlight=xdg\n" } ], "name": "GHC" diff --git a/programs/itch.json b/programs/itch.json new file mode 100644 index 0000000..b35defe --- /dev/null +++ b/programs/itch.json @@ -0,0 +1,10 @@ +{ + "name": "itch", + "files": [ + { + "path": "$HOME/.itch", + "movable": false, + "help": "Currently unsupported.\n\nhttps://github.com/itchio/itch-setup/blob/f7e77569fee0b2dcf91b19e3c6533f4a1b5f02e9/native/native_linux.go#L39-L41\n" + } + ] +} diff --git a/programs/kani.json b/programs/kani.json new file mode 100644 index 0000000..b12d5c1 --- /dev/null +++ b/programs/kani.json @@ -0,0 +1,10 @@ +{ + "files": [ + { + "path": "$HOME/.kani", + "movable": true, + "help": "Export the following environment variables:\n\n```bash\nexport KANI_HOME=\"$XDG_DATA_HOME\"/kani\n```\n" + } + ], + "name": "kani" +} diff --git a/programs/mixxx.json b/programs/mixxx.json new file mode 100644 index 0000000..a654367 --- /dev/null +++ b/programs/mixxx.json @@ -0,0 +1,10 @@ +{ + "files": [ + { + "path": "$HOME/.mixxx", + "movable": false, + "help": "Currently unsupported.\n\n_Relevant issue:_ https://github.com/mixxxdj/mixxx/issues/8090\n" + } + ], + "name": "Mixx" +} diff --git a/programs/mtpaint.json b/programs/mtpaint.json new file mode 100644 index 0000000..5568531 --- /dev/null +++ b/programs/mtpaint.json @@ -0,0 +1,11 @@ +{ + "files": [ + { + "path": "$HOME/.mtpaint", + "movable": true, + "help": "mtPaint supports setting its config file path through a system-wide configuration file.\n\nCreate file `/etc/mtpaint/mtpaintrc` and add the following contents:\n\n```userINI = ~/.config/mtpaint```\n\n*Relevant issue:* https://github.com/wjaguar/mtPaint/issues/22" + } + ], + "name": "mtPaint" +} + diff --git a/programs/neomutt.json b/programs/neomutt.json new file mode 100644 index 0000000..32dc6e8 --- /dev/null +++ b/programs/neomutt.json @@ -0,0 +1,10 @@ +{ + "files": [ + { + "path": "$HOME/.mutt_certificates", + "movable": true, + "help": "Move the file to _$XDG_CACHE_HOME/neomutt/certificates_ and add the following to neomuttrc:\n\n```\nset certificate_file=\"$XDG_CACHE_HOME/neomutt/certificates\"\n```\n" + } + ], + "name": "neomutt" +} diff --git a/programs/ngrok.json b/programs/ngrok.json new file mode 100644 index 0000000..be0fb4f --- /dev/null +++ b/programs/ngrok.json @@ -0,0 +1,10 @@ +{ + "name": "ngrok", + "files": [ + { + "path": "$HOME/.ngrok2", + "movable": true, + "help": "Ngrok v3 uses the XDG spec.\n Update from v2 to v3 and run the following command to automatically relocate your configuration to __XDG_CONFIG_HOME__:\n\n```ngrok config upgrade --relocate```\n\nYou have to manually delete the old folder in your __HOME__ after that." + } + ] +} diff --git a/programs/nix.json b/programs/nix.json index 681aea0..d4cdcbe 100644 --- a/programs/nix.json +++ b/programs/nix.json @@ -4,17 +4,17 @@ { "path": "$HOME/.nix-channels", "movable": false, - "help": "New nix command line interface supports XDG Base Directory but Old Commands will still create these directories.\n\n_Relevant Issue_: https://github.com/NixOS/nix/issues/1079\n\n" + "help": "New nix command line interface supports XDG Base Directory but Old Commands will still create these directories.\n\nTo use the XDG spec with the old command line, add to `/etc/nix/nix.conf`:\n\n```use-xdg-base-directories = true```\n\nYou also have to manually move the the file to __XDG_STATE_HOME__:\n\n```mv \"$HOME/.nix-channels\" \"$XDG_STATE_HOME/nix/channels\"```\n\n_See the Manual_: https://nixos.org/manual/nix/stable/command-ref/conf-file#conf-use-xdg-base-directories\n\n" }, { "path": "$HOME/.nix-defexpr", "movable": false, - "help": "New nix command line interface supports XDG Base Directory but Old Commands will still create these directories.\n\n_Relevant Issue_: https://github.com/NixOS/nix/issues/1079\n\n" + "help": "New nix command line interface supports XDG Base Directory but Old Commands will still create these directories.\n\nTo use the XDG spec with the old command line, add to `/etc/nix/nix.conf`:\n\n```use-xdg-base-directories = true```\n\nYou also have to manually move the the file to __XDG_STATE_HOME__:\n\n```mv \"$HOME/.nix-defexpr\" \"$XDG_STATE_HOME/nix/defexpr\"```\n\n_See the Manual_: https://nixos.org/manual/nix/stable/command-ref/conf-file#conf-use-xdg-base-directories\n\n" }, { "path": "$HOME/.nix-profile", "movable": false, - "help": "New nix command line interface supports XDG Base Directory but Old Commands will still create these directories.\n\n_Relevant Issue_: https://github.com/NixOS/nix/issues/1079\n\n" + "help": "New nix command line interface supports XDG Base Directory but Old Commands will still create these directories.\n\nTo use the XDG spec with the old command line, add to `/etc/nix/nix.conf`:\n\n```use-xdg-base-directories = true```\n\nYou also have to manually move the the file to __XDG_STATE_HOME__:\n\n```mv \"$HOME/.nix-profile\" \"$XDG_STATE_HOME/nix/profile\"```\n\n_See the Manual_: https://nixos.org/manual/nix/stable/command-ref/conf-file#conf-use-xdg-base-directories\n\n" } ] } diff --git a/programs/ohmyzsh.json b/programs/ohmyzsh.json index 6593cdd..8eb6c92 100644 --- a/programs/ohmyzsh.json +++ b/programs/ohmyzsh.json @@ -4,6 +4,16 @@ "path": "$HOME/.oh-my-zsh", "movable": true, "help": "See the relevant [issue](https://github.com/ohmyzsh/ohmyzsh/issues/9543).\n\nExport the following environment variables:\n\n```bash\nexport ZSH=\"$XDG_DATA_HOME\"/oh-my-zsh \n```\n" + }, + { + "path": "$HOME/.zshrc.pre-oh-my-zsh", + "movable": true, + "help": "If it exists, it is used when switching back to the default shell you had before installing Oh My Zsh. See the [FAQ](https://github.com/ohmyzsh/ohmyzsh/wiki/FAQ#how-do-i-uninstall-oh-my-zsh) for more information.\n\nYou can either back it up elsewhere or delete it.\n" + }, + { + "path": "$HOME/.zshrc.pre-oh-my-zsh-[0-9][0-9][0-9][0-9]-[0-9][0-9]-[0-9][0-9]_[0-9][0-9]-[0-9][0-9]-[0-9][0-9]", + "movable": true, + "help": "If it exists, it is used when switching back to the default shell you had before installing Oh My Zsh. See the [FAQ](https://github.com/ohmyzsh/ohmyzsh/wiki/FAQ#how-do-i-uninstall-oh-my-zsh) for more information.\n\nYou can either back it up elsewhere or delete it.\n" } ], "name": "ohmyzsh" diff --git a/programs/openjfx.json b/programs/openjfx.json new file mode 100644 index 0000000..ab8dea9 --- /dev/null +++ b/programs/openjfx.json @@ -0,0 +1,10 @@ +{ + "files": [ + { + "help": "**Disclaimer: some applications don't respect this setting.**\n\nExport the following environment variable:\n\n```bash\nexport _JAVA_OPTIONS=\"-Djava.util.prefs.userRoot=${XDG_CONFIG_HOME}/java -Djavafx.cachedir=${XDG_CACHE_HOME}/openjfx\"\n```\n\n_Relevant pull request:_ https://github.com/javafxports/openjdk-jfx/pull/300\n", + "movable": true, + "path": "$HOME/.openjfx" + } + ], + "name": "OpenJFX" +} diff --git a/programs/pkg.json b/programs/pkg.json new file mode 100644 index 0000000..ba113eb --- /dev/null +++ b/programs/pkg.json @@ -0,0 +1,10 @@ +{ + "files": [ + { + "path": "$HOME/.pkg-cache", + "movable": true, + "help": "Export the following environment variable:\n\n```bash\nexport PKG_CACHE_PATH=\"$XDG_CACHE_HOME\"/pkg-cache\n```\n" + } + ], + "name": "pkg" +} diff --git a/programs/protonvpn-cli.json b/programs/protonvpn-cli.json new file mode 100644 index 0000000..feca603 --- /dev/null +++ b/programs/protonvpn-cli.json @@ -0,0 +1,10 @@ +{ + "files": [ + { + "path": "$HOME/.pvpn-cli", + "movable": false, + "help": "Currently unsupported.\n\n_Relevant Pull Request:_ https://github.com/Rafficer/linux-cli-community/pull/96\n" + } + ], + "name": "protonvpn-cli" +} diff --git a/programs/roswell.json b/programs/roswell.json new file mode 100644 index 0000000..d83466c --- /dev/null +++ b/programs/roswell.json @@ -0,0 +1,10 @@ +{ + "files": [ + { + "path": "$HOME/.roswell", + "movable": true, + "help": "Export the following environment variables:\n\n```bash\nexport ROSWELL_HOME=\"$XDG_DATA_HOME\"/roswell\n```\n" + } + ], + "name": "roswell" +} diff --git a/programs/zoom.json b/programs/zoom.json index d06a39a..735d939 100644 --- a/programs/zoom.json +++ b/programs/zoom.json @@ -3,7 +3,7 @@ "files": [ { "path": "$HOME/.zoom", - "movable": true, + "movable": false, "help": "Unrecommended: setting the following variable moves the contents of .zoom but the directory itself always gets created. Moreover, it breaks some functionalities eg. being able to start a meeting:\n\n```bash\nexport SSB_HOME=\"$XDG_DATA_HOME\"/zoom\n```\n" } ] diff --git a/programs/zsh.json b/programs/zsh.json index ca54653..b908485 100644 --- a/programs/zsh.json +++ b/programs/zsh.json @@ -8,7 +8,7 @@ { "help": "Set this in your zshrc:\n\n```bash\ncompinit -d \"$XDG_CACHE_HOME\"/zsh/zcompdump-\"$ZSH_VERSION\"\n```\n", "movable": true, - "path": "$HOME/.zcompdump" + "path": "$HOME/.zcompdump*" }, { "help": "Set this in your zshrc:\n\n```bash\nexport HISTFILE=\"$XDG_STATE_HOME\"/zsh/history\n```\n", @@ -47,4 +47,4 @@ } ], "name": "zsh" -} \ No newline at end of file +}