aboutsummaryrefslogtreecommitdiff
path: root/files/qutebrowser/config.py
diff options
context:
space:
mode:
Diffstat (limited to 'files/qutebrowser/config.py')
-rw-r--r--files/qutebrowser/config.py35
1 files changed, 18 insertions, 17 deletions
diff --git a/files/qutebrowser/config.py b/files/qutebrowser/config.py
index 3531da9..9bc3ace 100644
--- a/files/qutebrowser/config.py
+++ b/files/qutebrowser/config.py
@@ -1372,7 +1372,8 @@ c.url.searchengines = {
'maps': 'https://www.google.com/maps/place/{}', #google maps
'im': 'https://imagemagick.org/script/search.php?q={}', # ImageMagick
'mc': 'https://minecraft.gamepedia.com/{}', # Minecraft wiki
- 'mb': 'https://musicbrainz.org/search?query={}&type=artist&method=indexed' # MusicBrainz (Artist)
+ 'mb': 'https://musicbrainz.org/search?query={}&type=artist&method=indexed', # MusicBrainz (Artist)
+ 'df': 'https://dwarffortresswiki.org/index.php/DF2014:{}' # Dwarf Fortress Wiki
}
## Page(s) to open at the start.
@@ -1569,37 +1570,37 @@ config.bind('U', 'undo')
## Custom normal mode bindings
# open url with mpv
-config.bind(',v', 'spawn i3-msg exec mpv {url}')
-config.bind(',fv', 'hint links spawn i3-msg exec mpv {hint-url}')
-config.bind(',Fv', 'hint all spawn i3-msg exec mpv {hint-url}')
-config.bind(',V', 'spawn i3-msg exec /home/taamas/scripts/floats/mpvFloat.sh {url}')
-config.bind(',fV', 'hint links spawn i3-msg exec /home/taamas/scripts/floats/mpvFloat.sh {hint-url}')
-config.bind(',FV', 'hint all spawn i3-msg exec /home/taamas/scripts/floats/mpvFloat.sh {hint-url}')
+config.bind(',v', 'spawn mpv {url}')
+config.bind(',fv', 'hint links spawn mpv {hint-url}')
+config.bind(',Fv', 'hint all spawn mpv {hint-url}')
+config.bind(',V', 'spawn /home/taamas/scripts/floats/mpvFloat.sh {url}')
+config.bind(',fV', 'hint links spawn mpvFloat.sh {hint-url}')
+config.bind(',FV', 'hint all spawn mpvFloat.sh {hint-url}')
#download url's video
config.bind(',d', 'spawn youtube-dl --all-subs --embed-subs -o ~/downloads/videos/%(title)s.%(ext)s {url}')
# same as previous, but showing urxvt
-config.bind(',D', 'spawn i3-msg exec /home/taamas/scripts/floats/youtube-dlFloat.sh {url}')
+config.bind(',D', 'spawn /home/taamas/scripts/floats/youtube-dlFloat.sh {url}')
# two same commands, using hints instead than current url
config.bind(',fd', 'hint links spawn youtube-dl.sh {hint-url}')
config.bind(',Fd', 'hint all spawn youtube-dl.sh {hint-url}')
-config.bind(',fD', 'hint links spawn i3-msg exec /home/taamas/scripts/floats/youtube-dlFloat.sh {hint-url}')
-config.bind(',FD', 'hint all spawn i3-msg exec /home/taamas/scripts/floats/youtube-dlFloat.sh {hint-url}')
+config.bind(',fD', 'hint links spawn /home/taamas/scripts/floats/youtube-dlFloat.sh {hint-url}')
+config.bind(',FD', 'hint all spawn /home/taamas/scripts/floats/youtube-dlFloat.sh {hint-url}')
# download url's audio in mp3 in ~/music/qutebrowser
config.bind(',a', 'spawn youtube-dl -o ~/music/qutebrowser/%(title)s.%(ext)s -x --audio-format mp3 --embed-thumbnail {url}')
# same as previous, but showing urxvt
-config.bind(',A', 'spawn i3-msg exec /home/taamas/scripts/floats/youtube-dlFloatAudio.sh {url}')
+config.bind(',A', 'spawn /home/taamas/scripts/floats/youtube-dlFloatAudio.sh {url}')
# two same commands, using hints instead than current url
-config.bind(',fa', 'hint links spawn i3-msg exec /home/taamas/scripts/floats/youtube-dlAudio.sh {hint-url}')
-config.bind(',Fa', 'hint all spawn i3-msg exec /home/taamas/scripts/floats/youtube-dlAudio.sh {hint-url}')
-config.bind(',fA', 'hint links spawn i3-msg exec /home/taamas/scripts/floats/youtube-dlFloatAudio.sh {hint-url}')
-config.bind(',FA', 'hint all spawn i3-msg exec /home/taamas/scripts/floats/youtube-dlFloatAudio.sh {hint-url}')
+config.bind(',fa', 'hint links spawn /home/taamas/scripts/floats/youtube-dlAudio.sh {hint-url}')
+config.bind(',Fa', 'hint all spawn /home/taamas/scripts/floats/youtube-dlAudio.sh {hint-url}')
+config.bind(',fA', 'hint links spawn /home/taamas/scripts/floats/youtube-dlFloatAudio.sh {hint-url}')
+config.bind(',FA', 'hint all spawn /home/taamas/scripts/floats/youtube-dlFloatAudio.sh {hint-url}')
# open images with corresponding script
config.bind(',i', 'spawn showURLimage.sh {url}')
config.bind(',fi', 'hint images spawn showURLimage.sh {hint-url}')
config.bind(',fI', 'hint all spawn showURLimage.sh {hint-url}')
# ripme bulk image downloading
-config.bind(',rm', 'spawn i3-msg exec "ripme.sh {url}"')
-config.bind(',frm', 'hint links spawn i3-msg exec "ripme.sh {hint-url}"')
+config.bind(',rm', 'spawn "ripme.sh {url}"')
+config.bind(',frm', 'hint links spawn "ripme.sh {hint-url}"')
## Bindings for caret mode
# config.bind('$', 'move-to-end-of-line', mode='caret')