Create wrapper scripts for XDG support
Signed-off-by: Severin Kaderli <severin@kaderli.dev>
This commit is contained in:
parent
56a77bb7b2
commit
d103fdec34
8 changed files with 85 additions and 9 deletions
14
system/.local/bin/gpg2
Executable file
14
system/.local/bin/gpg2
Executable file
|
@ -0,0 +1,14 @@
|
|||
#!/usr/bin/env bash
|
||||
#
|
||||
# SCRIPT NAME:
|
||||
# gpg2
|
||||
#
|
||||
# AUTHOR:
|
||||
# Severin Kaderli <severin@kaderli.dev>
|
||||
#
|
||||
# DESCRIPTION:
|
||||
# Wrapper script for gpg2 to use XDG directories
|
||||
#
|
||||
# USAGE:
|
||||
# ./gpg2
|
||||
"/usr/bin/gpg2" --homedir "${XDG_DATA_HOME}/gnupg" "${@}"
|
14
system/.local/bin/mvn
Executable file
14
system/.local/bin/mvn
Executable file
|
@ -0,0 +1,14 @@
|
|||
#!/usr/bin/env bash
|
||||
#
|
||||
# SCRIPT NAME:
|
||||
# mvn
|
||||
#
|
||||
# AUTHOR:
|
||||
# Severin Kaderli <severin@kaderli.dev>
|
||||
#
|
||||
# DESCRIPTION:
|
||||
# Wrapper script for mvn to use XDG directories
|
||||
#
|
||||
# USAGE:
|
||||
# ./mvn
|
||||
"/usr/bin/mvn" -gs "${XDG_CONFIG_HOME}/maven/settings.xml" "${@}"
|
14
system/.local/bin/nvidia-settings
Executable file
14
system/.local/bin/nvidia-settings
Executable file
|
@ -0,0 +1,14 @@
|
|||
#!/usr/bin/env bash
|
||||
#
|
||||
# SCRIPT NAME:
|
||||
# nvidia-settings
|
||||
#
|
||||
# AUTHOR:
|
||||
# Severin Kaderli <severin@kaderli.dev>
|
||||
#
|
||||
# DESCRIPTION:
|
||||
# Wrapper script for nvidia-settings to use XDG directories
|
||||
#
|
||||
# USAGE:
|
||||
# ./nvidia-settings
|
||||
"/usr/bin/nvidia-settings" --config="${XDG_CONFIG_HOME}/nvidia/settings" "${@}"
|
14
system/.local/bin/sqlite3
Executable file
14
system/.local/bin/sqlite3
Executable file
|
@ -0,0 +1,14 @@
|
|||
#!/usr/bin/env bash
|
||||
#
|
||||
# SCRIPT NAME:
|
||||
# sqlite3
|
||||
#
|
||||
# AUTHOR:
|
||||
# Severin Kaderli <severin@kaderli.dev>
|
||||
#
|
||||
# DESCRIPTION:
|
||||
# Wrapper script for sqlite3 to use XDG directories
|
||||
#
|
||||
# USAGE:
|
||||
# ./sqlite3
|
||||
"/usr/bin/sqlite3" -init "${XDG_CONFIG_HOME}/sqlite3/sqliterc" "${@}"
|
14
system/.local/bin/svn
Executable file
14
system/.local/bin/svn
Executable file
|
@ -0,0 +1,14 @@
|
|||
#!/usr/bin/env bash
|
||||
#
|
||||
# SCRIPT NAME:
|
||||
# svn
|
||||
#
|
||||
# AUTHOR:
|
||||
# Severin Kaderli <severin@kaderli.dev>
|
||||
#
|
||||
# DESCRIPTION:
|
||||
# Wrapper script for svn to use XDG directories
|
||||
#
|
||||
# USAGE:
|
||||
# ./svn
|
||||
"/usr/bin/svn" --config-dir "${XDG_CONFIG_HOME}/subversion" "${@}"
|
14
system/.local/bin/wget
Executable file
14
system/.local/bin/wget
Executable file
|
@ -0,0 +1,14 @@
|
|||
#!/usr/bin/env bash
|
||||
#
|
||||
# SCRIPT NAME:
|
||||
# wget
|
||||
#
|
||||
# AUTHOR:
|
||||
# Severin Kaderli <severin@kaderli.dev>
|
||||
#
|
||||
# DESCRIPTION:
|
||||
# Wrapper script for wget to use XDG directories
|
||||
#
|
||||
# USAGE:
|
||||
# ./wget
|
||||
"/usr/bin/wget" --hsts-file="${XDG_CACHE_HOME}/wget-hsts" "${@}"
|
Loading…
Add table
Add a link
Reference in a new issue