From 205f37fe090b559019d2d16681d6ba4ab9e10232 Mon Sep 17 00:00:00 2001 From: Zach-Button Date: Fri, 24 Apr 2015 14:04:27 -0600 Subject: [PATCH] Update dmenu_qutebrowser --- misc/userscripts/dmenu_qutebrowser | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/misc/userscripts/dmenu_qutebrowser b/misc/userscripts/dmenu_qutebrowser index 5da1d8462..3a73cdde5 100755 --- a/misc/userscripts/dmenu_qutebrowser +++ b/misc/userscripts/dmenu_qutebrowser @@ -1,5 +1,22 @@ #!/bin/bash +# Copyright 2015 Zach-Button +# +# This file is part of qutebrowser. +# +# qutebrowser is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# qutebrowser is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with qutebrowser. If not, see . + # Pipes history, quickmarks, and URL into dmenu. # # If run from qutebrowser as a userscript, it runs :open on the URL @@ -16,7 +33,7 @@ # O q # o o # go o -# gO [ I haven't decided what to do with this yet ] +# gO gC, then o # url=$(echo "$QUTE_URL" | cat - ~/.local/share/qutebrowser/history ~/.config/qutebrowser/quickmarks | dmenu -l 15 -p qutebrowser)