dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles
Log | Files | Refs | README | LICENSE Back to index

commit b11291ca7fa6bce8b840ceb7ad0723367f7a3000
parent 9eaa7da629ca42250beefffb4f365bed7edd5c9e
Author: Anders Damsgaard <andersd@riseup.net>
Date:   Wed, 28 Feb 2018 13:23:22 -0500

Various updates to several scripts

Diffstat:
Minit/10_symlinks.sh | 2++
Mlinks/.offlineimaprc | 2+-
Mlinks/.w3m/bookmark.html | 1+
Mlinks/bin/ffmpeg-to-mp4.sh | 5+++++
4 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/init/10_symlinks.sh b/init/10_symlinks.sh @@ -45,6 +45,8 @@ if [ "$(uname)" = "Darwin" ]; then ln -shvf ~/iCloud/articles ~/articles ln -shvf ~/iCloud/articles/own/BIBnew.bib \ $(kpsexpand '$TEXMFHOME')/bibtex/bib/myfiles/BIB.bib + ln -shvf ~/iCloud/articles/own/BIBnew.bib \ + $(kpsexpand '$TEXMFHOME')/bibtex/bib/BIB.bib ln -shvf ~/iCloud/src ~/src ln -shvf ~/iCloud/doc ~/doc ln -shvf ~/doc/.password-store ~/.password-store diff --git a/links/.offlineimaprc b/links/.offlineimaprc @@ -288,7 +288,7 @@ remotehost = exchangeimap.princeton.edu remoteuser = andersd remotepasseval = get_pass("andersd@princeton.edu") ssl = yes -cert_fingerprint = 0855b2039ba7540c2f53f186bfc34fde80468fad +cert_fingerprint = 3c9d89e7697369b94220a5918260fba8496ea98b #folderfilter = lambda folder: folder not in ['Kalender','Kontaktpersoner','Slettet post','NFIT-Import-adc-2012-09-11-04:18'] # Instead of closing the connection once a sync is complete, offlineimap will diff --git a/links/.w3m/bookmark.html b/links/.w3m/bookmark.html @@ -22,6 +22,7 @@ <ul> <li><a href="https://www.reidreviews.com/reidreviews/login.asp">Reid Reviews</a> <li><a href="https://www.fredmiranda.com/forum/board/55">Fred Miranda: Alternative Gear &amp; Lenses</a> +<li><a href="http://www.lensworkonline.com/login.php">LensWork Online</a> <li><a href="https://luminous-landscape.com/">Luminous Landscape</a> <li><a href="https://forum.luminous-landscape.com/">Luminous Landscape - Forum</a> <li><a href="https://www.l-camera-forum.com/forum/216-leica-m-system/">Leica M System - Leica Forum</a> diff --git a/links/bin/ffmpeg-to-mp4.sh b/links/bin/ffmpeg-to-mp4.sh @@ -31,3 +31,8 @@ ffmpeg -i "$1" -vframes 1 -f image2 "${output%.*}.png" # ${output%.*}-last.png echo $output + +if [ "$2" == "cleanup" ]; then + rm "${1%.*}.png" + rm "${1}" +fi