]> glassweightruler.freedombox.rocks Git - xdg-ninja.git/commitdiff
Add more configs
authorb3nj4m1n <b3nj4m1n@gmx.net>
Fri, 13 May 2022 15:18:24 +0000 (17:18 +0200)
committerb3nj4m1n <b3nj4m1n@gmx.net>
Fri, 13 May 2022 15:18:24 +0000 (17:18 +0200)
12 files changed:
programs/ansible.json [new file with mode: 0644]
programs/bpython.json [new file with mode: 0644]
programs/logseq.json [new file with mode: 0644]
programs/openssh.json [new file with mode: 0644]
programs/sqlite.json [new file with mode: 0644]
programs/steam.json [new file with mode: 0644]
programs/w3m.json [new file with mode: 0644]
programs/wine.json [new file with mode: 0644]
programs/xorg-xrdb.json [new file with mode: 0644]
programs/xorg.json [new file with mode: 0644]
programs/zotero.json [new file with mode: 0644]
programs/zsh.json [new file with mode: 0644]

diff --git a/programs/ansible.json b/programs/ansible.json
new file mode 100644 (file)
index 0000000..bc8001f
--- /dev/null
@@ -0,0 +1,10 @@
+{
+    "files": [
+        {
+            "path": "$HOME/.ansible",
+            "movable": false,
+            "help": "See [this](https://github.com/ansible/ansible/commit/d7fbde4ea9db6cc44e81c39d699595330f4fa3c6) pull request.\n\nSeems to be implemented now, you should be able to set the _ANSIBLE_HOME_ enviornment variable.\n\nI couldn't get it to work yet unfortunately, and you might need to wait for a new release.\n"
+        }
+    ],
+    "name": "ansible"
+}
\ No newline at end of file
diff --git a/programs/bpython.json b/programs/bpython.json
new file mode 100644 (file)
index 0000000..7c90462
--- /dev/null
@@ -0,0 +1,10 @@
+{
+    "files": [
+        {
+            "path": "$HOME/.pythonhist",
+            "movable": true,
+            "help": "You can overwrite this in the config file:\n\n(_XDG_CONFIG_HOME/bpython/config_)\n```bash\nhist_file = $XDG_DATA_HOME/bpythonhistory\n```\n"
+        }
+    ],
+    "name": "bpython"
+}
\ No newline at end of file
diff --git a/programs/logseq.json b/programs/logseq.json
new file mode 100644 (file)
index 0000000..3b145b1
--- /dev/null
@@ -0,0 +1,10 @@
+{
+    "files": [
+        {
+            "path": "$HOME/.logseq",
+            "movable": false,
+            "help": "Currently not supported, see [this](https://github.com/logseq/logseq/issues/3462) issue.\n"
+        }
+    ],
+    "name": "logseq"
+}
\ No newline at end of file
diff --git a/programs/openssh.json b/programs/openssh.json
new file mode 100644 (file)
index 0000000..329280f
--- /dev/null
@@ -0,0 +1,10 @@
+{
+    "files": [
+        {
+            "path": "$HOME/.ssh",
+            "movable": false,
+            "help": ""
+        }
+    ],
+    "name": "openssh"
+}
\ No newline at end of file
diff --git a/programs/sqlite.json b/programs/sqlite.json
new file mode 100644 (file)
index 0000000..205ddfa
--- /dev/null
@@ -0,0 +1,10 @@
+{
+    "files": [
+        {
+            "path": "$HOME/.sqlite_history",
+            "movable": true,
+            "help": "Export the following environment variables:\n\n```bash\nexport SQLITE_HISTORY=$XDG_DATA_HOME/sqlite_history\n```\n"
+        }
+    ],
+    "name": "sqlite"
+}
\ No newline at end of file
diff --git a/programs/steam.json b/programs/steam.json
new file mode 100644 (file)
index 0000000..c75765d
--- /dev/null
@@ -0,0 +1,20 @@
+{
+    "files": [
+        {
+            "path": "$HOME/.steampid",
+            "movable": false,
+            "help": ""
+        },
+        {
+            "path": "$HOME/.steampath",
+            "movable": false,
+            "help": ""
+        },
+        {
+            "path": "$HOME/.steam",
+            "movable": false,
+            "help": "See the relevant [issue](https://github.com/ValveSoftware/steam-for-linux/issues/1890). It's a goldmine.\n\n> Day 3368\n> A drop or two and follows a river of tears\n> How the cries of the anguished fall on deaf ears\n> A $HOME I believed I'm the one to own\n> Excalibur lifted and this issue remains in stone\n\n"
+        }
+    ],
+    "name": "steam"
+}
\ No newline at end of file
diff --git a/programs/w3m.json b/programs/w3m.json
new file mode 100644 (file)
index 0000000..60d803a
--- /dev/null
@@ -0,0 +1,10 @@
+{
+    "files": [
+        {
+            "path": "$HOME/.w3m",
+            "movable": false,
+            "help": "Currently not supported, see this [PR](https://github.com/tats/w3m/pull/207).\n"
+        }
+    ],
+    "name": "w3m"
+}
\ No newline at end of file
diff --git a/programs/wine.json b/programs/wine.json
new file mode 100644 (file)
index 0000000..e19beee
--- /dev/null
@@ -0,0 +1,10 @@
+{
+    "files": [
+        {
+            "path": "$HOME/.wine",
+            "movable": true,
+            "help": "Export the following environment variables:\n\n```bash\nexport WINEPREFIX=\"$XDG_DATA_HOME\"/wine\n```\n"
+        }
+    ],
+    "name": "wine"
+}
\ No newline at end of file
diff --git a/programs/xorg-xrdb.json b/programs/xorg-xrdb.json
new file mode 100644 (file)
index 0000000..f2fa5ff
--- /dev/null
@@ -0,0 +1,10 @@
+{
+    "files": [
+        {
+            "path": "$HOME/.Xresources",
+            "movable": true,
+            "help": "xrdb loads these resources, wherever you call xrdb, add this flag:\n\n```bash\nxrdb -load \"$XDG_CONFIG_HOME/.config/X11/xresources\"\n```\n\n_Note: It will probably be called by your Xsession file._\n"
+        }
+    ],
+    "name": "xorg-xrdb"
+}
\ No newline at end of file
diff --git a/programs/xorg.json b/programs/xorg.json
new file mode 100644 (file)
index 0000000..db93402
--- /dev/null
@@ -0,0 +1,25 @@
+{
+    "files": [
+        {
+            "path": "$HOME/.xsession-errors",
+            "movable": true,
+            "help": "You need to export these enviornment variables as part of your xorg init script.\n\nThis could be _$HOME/.xinitrc_ for example, most display managers should also source _/etc/profile_.\n\n```bash\nERRFILE=\"$XDG_CACHE_HOME/X11/xsession-errors\"\n```\n"
+        },
+        {
+            "path": "$HOME/.Xsession",
+            "movable": true,
+            "help": "You need to export these enviornment variables as part of your xorg init script.\n\nThis could be _$HOME/.xinitrc_ for example, most display managers should also source _/etc/profile_.\n\n```bash\nALTUSERXSESSION=\"$XDG_CACHE_HOME/X11/Xsession\"\n```\n"
+        },
+        {
+            "path": "$HOME/.xsessionrc",
+            "movable": true,
+            "help": "You need to export these enviornment variables as part of your xorg init script.\n\nThis could be _$HOME/.xinitrc_ for example, most display managers should also source _/etc/profile_.\n\n```bash\nUSERXSESSIONRC=\"$XDG_CACHE_HOME/X11/xsessionrc\"\n```\n"
+        },
+        {
+            "path": "$HOME/.xsession",
+            "movable": true,
+            "help": "You need to export these enviornment variables as part of your xorg init script.\n\nThis could be _$HOME/.xinitrc_ for example, most display managers should also source _/etc/profile_.\n\n```bash\nUSERXSESSION=\"$XDG_CACHE_HOME/X11/xsession\"\n```\n"
+        }
+    ],
+    "name": "xorg"
+}
\ No newline at end of file
diff --git a/programs/zotero.json b/programs/zotero.json
new file mode 100644 (file)
index 0000000..90424db
--- /dev/null
@@ -0,0 +1,10 @@
+{
+    "files": [
+        {
+            "path": "$HOME/Zotero",
+            "movable": false,
+            "help": "You _may_ be able to solve this by aliasing zotero to use the _data-dir_ flag.\n"
+        }
+    ],
+    "name": "zotero"
+}
\ No newline at end of file
diff --git a/programs/zsh.json b/programs/zsh.json
new file mode 100644 (file)
index 0000000..2c173a1
--- /dev/null
@@ -0,0 +1,35 @@
+{
+    "files": [
+        {
+            "path": "$HOME/.zcompcache",
+            "movable": true,
+            "help": "Set this in your zshrc:\n\n```bash\nzstyle ':completion:*' cache-path $XDG_CACHE_HOME/zsh/zcompcache\n```\n"
+        },
+        {
+            "path": "$HOME/.zcompdump",
+            "movable": true,
+            "help": "Set this in your zshrc:\n\n```bash\ncompinit -d $XDG_CACHE_HOME/zsh/zcompdump-$ZSH_VERSION\n```\n"
+        },
+        {
+            "path": "$HOME/.histfile",
+            "movable": true,
+            "help": "Export the following environment variables:\n\n```bash\nexport HISTFILE=\"$XDG_DATA_HOME\"/zsh/history \n```\n"
+        },
+        {
+            "path": "$HOME/.zlogin",
+            "movable": true,
+            "help": "Export the following environment variables:\n\n```bash\nZDOTDIR=$HOME/.config/zsh\n```\n\nYou can do this in _/etc/zsh/zshenv_.\n"
+        },
+        {
+            "path": "$HOME/.zshenv",
+            "movable": true,
+            "help": "You can remove this file and instead use _/etc/zsh/zshenv_.\n\n_Note: this requires sudo privileges._\n"
+        },
+        {
+            "path": "$HOME/.zshrc",
+            "movable": true,
+            "help": "Export the following environment variables:\n\n```bash\nZDOTDIR=$HOME/.config/zsh\n```\n\nYou can do this in _/etc/zsh/zshenv_.\n"
+        }
+    ],
+    "name": "zsh"
+}
\ No newline at end of file