summaryrefslogtreecommitdiffstats
path: root/.scripts/tools/shortcuts
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2018-11-10 11:38:50 -0500
committerLuke Smith <luke@lukesmith.xyz>2018-11-10 11:38:50 -0500
commit1bf4c122f84618530d77c873d2ca9948ce23f851 (patch)
tree68efe2df6be4dfb86c79403a5f20c17b7ad694f6 /.scripts/tools/shortcuts
parenta00dcc0c751691d3c2263a1461d7419c0bb2fd94 (diff)
downloadeibhear-1bf4c122f84618530d77c873d2ca9948ce23f851.tar.gz
eibhear-1bf4c122f84618530d77c873d2ca9948ce23f851.tar.zst
eibhear-1bf4c122f84618530d77c873d2ca9948ce23f851.zip
qutebrowser removed, its shortcuts disabled
Diffstat (limited to '.scripts/tools/shortcuts')
-rwxr-xr-x.scripts/tools/shortcuts7
1 files changed, 4 insertions, 3 deletions
diff --git a/.scripts/tools/shortcuts b/.scripts/tools/shortcuts
index c53da1d..5c5f3eb 100755
--- a/.scripts/tools/shortcuts
+++ b/.scripts/tools/shortcuts
@@ -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.