qutebrowser removed, its shortcuts disabled

This commit is contained in:
Luke Smith 2018-11-10 11:38:50 -05:00
parent a00dcc0c75
commit 1bf4c122f8
2 changed files with 4 additions and 1579 deletions

File diff suppressed because it is too large Load diff

View file

@ -10,11 +10,12 @@ configs="$HOME/.key_files"
# Output locations
shell_shortcuts="$HOME/.shortcuts"
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"
# Remove
rm -f "$ranger_shortcuts" "$qute_shortcuts"
rm -f "$ranger_shortcuts" "$qute_shortcuts" 2>/dev/null
echo "abbr \\" > "$fish_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 $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"
# Format the `folders` file in the correct syntax and sent it to all three configs.