qutebrowser removed, its shortcuts disabled
This commit is contained in:
parent
a00dcc0c75
commit
1bf4c122f8
2 changed files with 4 additions and 1579 deletions
File diff suppressed because it is too large
Load diff
|
@ -10,11 +10,12 @@ configs="$HOME/.key_files"
|
||||||
# Output locations
|
# Output locations
|
||||||
shell_shortcuts="$HOME/.shortcuts"
|
shell_shortcuts="$HOME/.shortcuts"
|
||||||
ranger_shortcuts="$HOME/.config/ranger/shortcuts.conf"
|
ranger_shortcuts="$HOME/.config/ranger/shortcuts.conf"
|
||||||
qute_shortcuts="$HOME/.config/qutebrowser/shortcuts.py"
|
#qute_shortcuts="$HOME/.config/qutebrowser/shortcuts.py"
|
||||||
|
qute_shortcuts="/dev/null"
|
||||||
fish_shortcuts="$HOME/.config/fish/shortcuts.fish"
|
fish_shortcuts="$HOME/.config/fish/shortcuts.fish"
|
||||||
|
|
||||||
# Remove
|
# Remove
|
||||||
rm -f "$ranger_shortcuts" "$qute_shortcuts"
|
rm -f "$ranger_shortcuts" "$qute_shortcuts" 2>/dev/null
|
||||||
echo "abbr \\" > "$fish_shortcuts"
|
echo "abbr \\" > "$fish_shortcuts"
|
||||||
echo "alias \\" > "$shell_shortcuts"
|
echo "alias \\" > "$shell_shortcuts"
|
||||||
|
|
||||||
|
@ -23,7 +24,7 @@ ensure() { (grep "$1" "$2")>/dev/null 2>&1 || echo "$1" >> "$2" ;}
|
||||||
|
|
||||||
ensure "source $shell_shortcuts" "$shellrc"
|
ensure "source $shell_shortcuts" "$shellrc"
|
||||||
ensure "source $HOME/.config/ranger/shortcuts.conf" "$HOME/.config/ranger/rc.conf"
|
ensure "source $HOME/.config/ranger/shortcuts.conf" "$HOME/.config/ranger/rc.conf"
|
||||||
ensure "config.source('shortcuts.py')" "$HOME/.config/qutebrowser/config.py"
|
#ensure "config.source('shortcuts.py')" "$HOME/.config/qutebrowser/config.py"
|
||||||
ensure "source $HOME/.config/fish/shortcuts.fish" "$HOME/.config/fish/config.fish"
|
ensure "source $HOME/.config/fish/shortcuts.fish" "$HOME/.config/fish/config.fish"
|
||||||
|
|
||||||
# Format the `folders` file in the correct syntax and sent it to all three configs.
|
# Format the `folders` file in the correct syntax and sent it to all three configs.
|
||||||
|
|
Loading…
Reference in a new issue