diff options
Diffstat (limited to 'qutebrowser/.local/share')
5 files changed, 8 insertions, 22 deletions
diff --git a/qutebrowser/.local/share/qutebrowser/userscripts/dictionary-search b/qutebrowser/.local/share/qutebrowser/userscripts/dictionary-search deleted file mode 100755 index cb9ad7d..0000000 --- a/qutebrowser/.local/share/qutebrowser/userscripts/dictionary-search +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/bash - -echo "open -t http://dictionary.cambridge.org/dictionary/english/$QUTE_SELECTED_TEXT" > "$QUTE_FIFO" diff --git a/qutebrowser/.local/share/qutebrowser/userscripts/explorer b/qutebrowser/.local/share/qutebrowser/userscripts/explorer index f134aa5..02d6812 100755 --- a/qutebrowser/.local/share/qutebrowser/userscripts/explorer +++ b/qutebrowser/.local/share/qutebrowser/userscripts/explorer @@ -1,15 +1,13 @@ #!/usr/bin/env bash scripts_dir="$HOME/.local/share/qutebrowser/userscripts" -rofi_modi="quickmarks:$scripts_dir/quickmarks,tabs:$scripts_dir/tabs,history:$scripts_dir/history" +rofi_modi="quickmarks:$scripts_dir/quickmarks,tabs:$scripts_dir/tabs" rofi_comand="rofi -combi-modi $rofi_modi -modi $rofi_modi -show" if [[ "$1" = "-t" ]]; then $rofi_comand tabs elif [[ "$1" = "-b" ]]; then $rofi_comand quickmarks -elif [[ "$1" = "-h" ]]; then - $rofi_comand history else $rofi_comand combi fi diff --git a/qutebrowser/.local/share/qutebrowser/userscripts/history b/qutebrowser/.local/share/qutebrowser/userscripts/history deleted file mode 100755 index 2122666..0000000 --- a/qutebrowser/.local/share/qutebrowser/userscripts/history +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/bash - -if [ -n "$1" ] -then - echo "open $(echo $1 | awk '{print $NF}')" >> $QUTE_FIFO - exit; -fi - -# List history -cat ~/.local/share/qutebrowser/history | awk '{print $3 ": " $2}' diff --git a/qutebrowser/.local/share/qutebrowser/userscripts/user-password b/qutebrowser/.local/share/qutebrowser/userscripts/user-password new file mode 100755 index 0000000..33ca7b5 --- /dev/null +++ b/qutebrowser/.local/share/qutebrowser/userscripts/user-password @@ -0,0 +1,7 @@ +#!/usr/bin/env bash + +target=$(find $HOME/.password-store/ -name "*.gpg" -printf "%P\n" | dmenu -i -p "Get identifier for:") +echo "fake-key '<Esc>'" >> $QUTE_FIFO +echo "fake-key '$(basename $target .gpg)'" >> $QUTE_FIFO +echo "fake-key '<Tab>'" >> $QUTE_FIFO +echo "fake-key '$(pass show ${target%.gpg})'" >> $QUTE_FIFO diff --git a/qutebrowser/.local/share/qutebrowser/userscripts/zathura-open b/qutebrowser/.local/share/qutebrowser/userscripts/zathura-open deleted file mode 100755 index 088eff2..0000000 --- a/qutebrowser/.local/share/qutebrowser/userscripts/zathura-open +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/bash - -fname=/tmp/${RANDOM}.pdf - -curl ${QUTE_URL%.pdf}.pdf > ~/test.pdf -nohup zathura ~/test.pdf |