Switch to GNU stow

This commit is contained in:
Marty Oehme 2019-12-29 23:12:13 +01:00
parent a2605c4254
commit d34cecb27e
137 changed files with 39244 additions and 141 deletions

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,10 @@
#! /usr/bin/bash
# Download current page as pdf file
# use title of current page / selected text as filename
filename=${QUTE_SELECTED_TEXT:-$QUTE_TITLE}
# revert to default name if nothing else is set; remove special chars
filename=$(echo "${filename:-downloaded.pdf}" | sed 's/[<>,/]/_/g')
# print to pdf
echo "print --pdf '$QUTE_DOWNLOAD_DIR/${1:-$filename}.pdf'" >>"$QUTE_FIFO"

View file

@ -0,0 +1,4 @@
#! /usr/bin/bash
# send current page to my personal shaarli instance and open the 'post' page to edit it
echo "open https://links.martyoeh.me/?post=$QUTE_URL" >>"$QUTE_FIFO"

View file

@ -0,0 +1,7 @@
#! /usr/bin/bash
# from swalladge:
# https://github.com/swalladge/dotfiles/blob/master/local/share/qutebrowser/userscripts/wallabag_add.sh
# v2.*
echo "open https://read.martyoeh.me/bookmarklet?url=$QUTE_URL" >>"$QUTE_FIFO"