]> glassweightruler.freedombox.rocks Git - xdg-ninja.git/commitdiff
Add subset of supported programs from arch wiki article
authorb3nj4m1n <b3nj4m1n@gmx.net>
Thu, 12 May 2022 17:52:13 +0000 (19:52 +0200)
committerb3nj4m1n <b3nj4m1n@gmx.net>
Thu, 12 May 2022 17:52:13 +0000 (19:52 +0200)
21 files changed:
README.md
programs/alsa.json [new file with mode: 0644]
programs/antimicrox.json [new file with mode: 0644]
programs/apvlv.json [new file with mode: 0644]
programs/aria2.json [new file with mode: 0644]
programs/asunder.json [new file with mode: 0644]
programs/binwalk.json [new file with mode: 0644]
programs/byobu.json [new file with mode: 0644]
programs/curl.json [new file with mode: 0644]
programs/git.json [new file with mode: 0644]
programs/goobookrc.json [new file with mode: 0644]
programs/latexmk.json [new file with mode: 0644]
programs/mercurial.json [new file with mode: 0644]
programs/msmtp.json [new file with mode: 0644]
programs/notmuch.json [new file with mode: 0644]
programs/sandboxd.json [new file with mode: 0644]
programs/scummvm.json [new file with mode: 0644]
programs/swap.json [new file with mode: 0644]
programs/tmux.json [new file with mode: 0644]
programs/xmobar.json [new file with mode: 0644]
programs/yarn.json [new file with mode: 0644]

index 44748d1e7d1f566bcee79c28943fba4263067bce..a9d99d686f5189ae109e36bf5c02229ccb6ff49a 100644 (file)
--- a/README.md
+++ b/README.md
@@ -7,6 +7,8 @@ A shell script which checks your _$HOME_ for unwanted files and directories.
 
 When it encounters a file it knows about, it will tell you whether it's possible to move this file to an appropriate location, and how to do it.
 
 
 When it encounters a file it knows about, it will tell you whether it's possible to move this file to an appropriate location, and how to do it.
 
+Currently, a subset of the [arch wiki page on XDG_BASE_DIR](https://wiki.archlinux.org/title/XDG_Base_Directory) is implemented as configurations.
+
 ## Configuration
 
 The configuration is done in the _programs/_ directory.
 ## Configuration
 
 The configuration is done in the _programs/_ directory.
diff --git a/programs/alsa.json b/programs/alsa.json
new file mode 100644 (file)
index 0000000..729d045
--- /dev/null
@@ -0,0 +1,10 @@
+{
+    "name": "ALSA",
+    "files": [
+        {
+            "path": "$HOME/.asoundrc",
+            "movable": true,
+            "help": "Supported since _v1.2.3_.\n\nYou can move the file to _XDG_CONFIG_HOME/alsa/asoundrc_.\n"
+        }
+    ]
+}
diff --git a/programs/antimicrox.json b/programs/antimicrox.json
new file mode 100644 (file)
index 0000000..2fb5e21
--- /dev/null
@@ -0,0 +1,15 @@
+{
+    "name": "antimicrox",
+    "files": [
+        {
+            "path": "$HOME/.antimicro",
+            "movable": true,
+            "help": ""
+        },
+        {
+            "path": "$HOME/.antimicrox",
+            "movable": true,
+            "help": ""
+        }
+    ]
+}
diff --git a/programs/apvlv.json b/programs/apvlv.json
new file mode 100644 (file)
index 0000000..1be64c9
--- /dev/null
@@ -0,0 +1,10 @@
+{
+    "name": "apvlv",
+    "files": [
+        {
+            "path": "$HOME/.apvlvrc",
+            "movable": true,
+            "help": "XDG is supported out-of-the-box, so we can simply move the file to _XDG_CONFIG_HOME/apvlv/apvlvrc_.\n"
+        }
+    ]
+}
diff --git a/programs/aria2.json b/programs/aria2.json
new file mode 100644 (file)
index 0000000..26ad0fe
--- /dev/null
@@ -0,0 +1,10 @@
+{
+    "name": "aria2",
+    "files": [
+        {
+            "path": "$HOME/.aria2",
+            "movable": true,
+            "help": "Supported since commit _8bc1d37_.\n\nYou can move the configuration file to _XDG_CONFIG_HOME/aria2/aria2.conf_.\n\nYou can move the cache files to _XDG_CACHE_HOME/aria2_.\n"
+        }
+    ]
+}
diff --git a/programs/asunder.json b/programs/asunder.json
new file mode 100644 (file)
index 0000000..1c8735c
--- /dev/null
@@ -0,0 +1,25 @@
+{
+    "name": "asunder",
+    "files": [
+        {
+            "path": "$HOME/.asunder",
+            "movable": true,
+            "help": "Supported since _v2.9.0_.\n\nYou can move the file to _XDG_CONFIG_HOME/asunder/asunder_.\n"
+        },
+        {
+            "path": "$HOME/.asunder_album_artist",
+            "movable": true,
+            "help": "Supported since _v2.9.0_.\n\nYou can move the file to _XDG_CACHE_HOME/asunder/asunder_album_artist_.\n"
+        },
+        {
+            "path": "$HOME/.asunder_album_genre",
+            "movable": true,
+            "help": "Supported since _v2.9.0_.\n\nYou can move the file to _XDG_CACHE_HOME/asunder/asunder_album_genre_.\n"
+        },
+        {
+            "path": "$HOME/.asunder_album_title",
+            "movable": true,
+            "help": "Supported since _v2.9.0_.\n\nYou can move the file to _XDG_CACHE_HOME/asunder/asunder_album_title_.\n"
+        }
+    ]
+}
diff --git a/programs/binwalk.json b/programs/binwalk.json
new file mode 100644 (file)
index 0000000..97e45dc
--- /dev/null
@@ -0,0 +1,10 @@
+{
+    "name": "binwalk",
+    "files": [
+        {
+            "path": "$HOME/.binwalk",
+            "movable": true,
+            "help": "Supported since commit _2051757_.\n\nYou can move the file to _XDG_CONFIG_HOME/binwalk_.\n"
+        }
+    ]
+}
diff --git a/programs/byobu.json b/programs/byobu.json
new file mode 100644 (file)
index 0000000..5915792
--- /dev/null
@@ -0,0 +1,10 @@
+{
+    "name": "byobu",
+    "files": [
+        {
+            "path": "$HOME/.byobu",
+            "movable": true,
+            "help": "Supported since _v4.17_.\n\nYou can move the file to _XDG_CONFIG_HOME/byobu_.\n"
+        }
+    ]
+}
diff --git a/programs/curl.json b/programs/curl.json
new file mode 100644 (file)
index 0000000..add51ae
--- /dev/null
@@ -0,0 +1,10 @@
+{
+    "name": "cURL",
+    "files": [
+        {
+            "path": "$HOME/.curlrc",
+            "movable": true,
+            "help": "Supported since _v7.73.0_.\n\nYou can move the file to _XDG_CONFIG_HOME/.curlrc_.\n"
+        }
+    ]
+}
diff --git a/programs/git.json b/programs/git.json
new file mode 100644 (file)
index 0000000..e0a5248
--- /dev/null
@@ -0,0 +1,10 @@
+{
+    "name": "git",
+    "files": [
+        {
+            "path": "$HOME/.gitconfig",
+            "movable": true,
+            "help": "XDG is supported out-of-the-box, so we can simply move the file to _XDG_CONFIG_HOME/git/config_.\n"
+        }
+    ]
+}
diff --git a/programs/goobookrc.json b/programs/goobookrc.json
new file mode 100644 (file)
index 0000000..8bd3c75
--- /dev/null
@@ -0,0 +1,10 @@
+{
+    "name": "goobookrc",
+    "files": [
+        {
+            "path": "$HOME/.goobookrc",
+            "movable": true,
+            "help": "Supported since _v3.5_.\n\nYou can move the file to _XDG_CONFIG_HOME/goobookrc_.\n"
+        }
+    ]
+}
diff --git a/programs/latexmk.json b/programs/latexmk.json
new file mode 100644 (file)
index 0000000..13e152a
--- /dev/null
@@ -0,0 +1,10 @@
+{
+    "name": "latexmk",
+    "files": [
+        {
+            "path": "$HOME/.latexmkrc",
+            "movable": true,
+            "help": "XDG is supported out-of-the-box, so we can simply move the file to _XDG_CONFIG_HOME/latexmk/latexmkrc_.\n"
+        }
+    ]
+}
diff --git a/programs/mercurial.json b/programs/mercurial.json
new file mode 100644 (file)
index 0000000..db08545
--- /dev/null
@@ -0,0 +1,10 @@
+{
+    "name": "mercurial",
+    "files": [
+        {
+            "path": "$HOME/.hgrc",
+            "movable": true,
+            "help": "Supported since _v4.2_.\n\nYou can move the file to _XDG_CONFIG_HOME/hg/hgrc_.\n"
+        }
+    ]
+}
diff --git a/programs/msmtp.json b/programs/msmtp.json
new file mode 100644 (file)
index 0000000..9233429
--- /dev/null
@@ -0,0 +1,10 @@
+{
+    "name": "msmtp",
+    "files": [
+        {
+            "path": "$HOME/.msmtprc",
+            "movable": true,
+            "help": "Supported since _v1.6.7_.\n\nYou can move the file to _XDG_CONFIG_HOME/msmtp/config_.\n"
+        }
+    ]
+}
diff --git a/programs/notmuch.json b/programs/notmuch.json
new file mode 100644 (file)
index 0000000..875f6cc
--- /dev/null
@@ -0,0 +1,11 @@
+{
+    "name": "notmuch",
+    "files": [
+        {
+            "path": "$HOME/.notmuch-config",
+            "movable": true,
+            "help": "Supported out-of-the-box.\n\nYou can move the file to _XDG_CONFIG_HOME/notmuch/default/config_.\n"
+        }
+    ]
+}
+
diff --git a/programs/sandboxd.json b/programs/sandboxd.json
new file mode 100644 (file)
index 0000000..1a92da3
--- /dev/null
@@ -0,0 +1,10 @@
+{
+    "name": "sandbox",
+    "files": [
+        {
+            "path": "$HOME/.sandboxrc",
+            "movable": true,
+            "help": "Supported since commit _91e0b6a_.\n\nYou can move the file to _XDG_CONFIG_HOME/sandboxd/sandboxrc_.\n"
+        }
+    ]
+}
diff --git a/programs/scummvm.json b/programs/scummvm.json
new file mode 100644 (file)
index 0000000..89450c6
--- /dev/null
@@ -0,0 +1,15 @@
+{
+    "name": "scummvm",
+    "files": [
+        {
+            "path": "$HOME/.scummvmrc",
+            "movable": true,
+            "help": "Supported since commit _7d014be_.\n\nYou can move the file to _XDG_CONFIG_HOME/scummvm/scummvm.ini_.\n"
+        },
+        {
+            "path": "$HOME/.scummvm",
+            "movable": true,
+            "help": "Supported since commit _7d014be_.\n\nYou can move the directory to _XDG_DATA_HOME/scummvm/saves_.\n"
+        }
+    ]
+}
diff --git a/programs/swap.json b/programs/swap.json
new file mode 100644 (file)
index 0000000..aad4fbc
--- /dev/null
@@ -0,0 +1,10 @@
+{
+    "name": "sway",
+    "files": [
+        {
+            "path": "$HOME/.sway",
+            "movable": true,
+            "help": "Supported since commit _614393c_.\n\nYou can move the file _~/.sway/config_ to _XDG_CONFIG_HOME/sway/config_.\n"
+        }
+    ]
+}
diff --git a/programs/tmux.json b/programs/tmux.json
new file mode 100644 (file)
index 0000000..fa31c53
--- /dev/null
@@ -0,0 +1,10 @@
+{
+    "name": "tmux",
+    "files": [
+        {
+            "path": "$HOME/.tmux.conf",
+            "movable": true,
+            "help": "Supported since _v3.2_ (Partial support since _v3.1_).\n\nYou can move the file to _XDG_CONFIG_HOME/tmux/tmux.conf_.\n"
+        }
+    ]
+}
diff --git a/programs/xmobar.json b/programs/xmobar.json
new file mode 100644 (file)
index 0000000..423605e
--- /dev/null
@@ -0,0 +1,10 @@
+{
+    "name": "xmobar",
+    "files": [
+        {
+            "path": "$HOME/.xmobarrc",
+            "movable": true,
+            "help": "Supported since commit _9fc6b37_.\n\nYou can move the file to _XDG_CONFIG_HOME/xmobar/xmobarrc_.\n"
+        }
+    ]
+}
diff --git a/programs/yarn.json b/programs/yarn.json
new file mode 100644 (file)
index 0000000..163f6bc
--- /dev/null
@@ -0,0 +1,15 @@
+{
+    "name": "yarn",
+    "files": [
+        {
+            "path": "$HOME/.yarnrc",
+            "movable": false,
+            "help": "You can try to alias _yarn_ to use a custom yarnrc location.\n\n```bash\nyarn --use-yarnrc $XDG_CONFIG_HOME/yarn/config\n```\n\n_yarn_ might still generate this file by itself though.\n"
+        },
+        {
+            "path": "$HOME/.yarn",
+            "movable": false,
+            "help": "Changing this is currently not supported.\n"
+        }
+    ]
+}