5359463d79
- Added misc/userscripts/dmenu_qutebrowser - Added misc/userscripts/qutebrowser_viewsource
14 lines
253 B
Bash
Executable File
14 lines
253 B
Bash
Executable File
#!/bin/bash
|
|
|
|
#
|
|
# This script fetches the unprocessed HTML source for a page and opens it in vim.
|
|
# :bind gf spawn --userscript qutebrowser_viewsource
|
|
#
|
|
|
|
path=/tmp/qutebrowser-src_$(date "+%s")
|
|
|
|
curl "$QUTE_URL" > $path
|
|
urxvt -e vim "$path"
|
|
|
|
rm "$path"
|