wrappers for xdg-compliance
This commit is contained in:
parent
e68174c5eb
commit
952a7f895d
6 changed files with 28 additions and 1 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -132,3 +132,5 @@ vlc/
|
||||||
lxqt/
|
lxqt/
|
||||||
rofi/
|
rofi/
|
||||||
QtProject.conf
|
QtProject.conf
|
||||||
|
wget/
|
||||||
|
java/
|
||||||
|
|
|
@ -10,8 +10,9 @@ PROMPT_COMMAND="echo" # Line jump after every command
|
||||||
# General configs
|
# General configs
|
||||||
PATH="$HOME/.config/scripts/status${PATH:+:${PATH}}"
|
PATH="$HOME/.config/scripts/status${PATH:+:${PATH}}"
|
||||||
PATH="$HOME/.config/scripts/menu${PATH:+:${PATH}}"
|
PATH="$HOME/.config/scripts/menu${PATH:+:${PATH}}"
|
||||||
|
PATH="$HOME/.config/wrappers${PATH:+:${PATH}}"
|
||||||
PATH="$HOME/.config/scripts${PATH:+:${PATH}}"
|
PATH="$HOME/.config/scripts${PATH:+:${PATH}}"
|
||||||
PATH="$HOME/.local/bin${PATH:+:${PATH}}" # Custom PATHs for executables
|
PATH="$HOME/.local/bin${PATH:+:${PATH}}" # Custom PATHs for executables
|
||||||
bind "set completion-ignore-case on" # Case insensitive TAB complete
|
bind "set completion-ignore-case on" # Case insensitive TAB complete
|
||||||
shopt -s cdspell # Autocorrect directory name
|
shopt -s cdspell # Autocorrect directory name
|
||||||
shopt -s autocd # cd into dir by typing the name
|
shopt -s autocd # cd into dir by typing the name
|
||||||
|
|
9
wrappers/brave
Executable file
9
wrappers/brave
Executable file
|
@ -0,0 +1,9 @@
|
||||||
|
#!/usr/bin/env sh
|
||||||
|
|
||||||
|
HOME=$HOME/.local/share/brave
|
||||||
|
mkdir -p "$HOME"
|
||||||
|
|
||||||
|
[ -e /usr/bin/brave ] && bin="/usr/bin/brave"
|
||||||
|
[ -e /usr/bin/brave-browser ] && bin="/usr/bin/brave-browser"
|
||||||
|
|
||||||
|
exec "$bin" "$@"
|
5
wrappers/firefox
Executable file
5
wrappers/firefox
Executable file
|
@ -0,0 +1,5 @@
|
||||||
|
#!/usr/bin/env sh
|
||||||
|
|
||||||
|
HOME=$HOME/.local/share/firefox
|
||||||
|
mkdir -p "$HOME"
|
||||||
|
exec /usr/bin/firefox "$@"
|
5
wrappers/librewolf
Executable file
5
wrappers/librewolf
Executable file
|
@ -0,0 +1,5 @@
|
||||||
|
#!/usr/bin/env sh
|
||||||
|
|
||||||
|
HOME=$HOME/.local/share/librewolf
|
||||||
|
mkdir -p "$HOME"
|
||||||
|
exec /usr/bin/librewolf "$@"
|
5
wrappers/steam
Executable file
5
wrappers/steam
Executable file
|
@ -0,0 +1,5 @@
|
||||||
|
#!/usr/bin/env sh
|
||||||
|
|
||||||
|
HOME=$HOME/.local/share/Steam/xdgspec
|
||||||
|
mkdir -p "$HOME"
|
||||||
|
exec /usr/bin/steam "$@"
|
Loading…
Reference in a new issue