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 c67c01177281a1d283a6c6b0fdb8a35c3fa415e0
parent 0463bf3a86092465c727c0a2d4fa5b09eddfb3a3
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Thu,  7 Feb 2019 09:32:39 +0100

Misc minor config changes

Diffstat:
Mlinks/.config/xmoto/config.dat | 4++--
Mlinks/.surf/script.js | 2+-
Mlinks/bin/backup-b2.sh | 18++++++------------
3 files changed, 9 insertions(+), 15 deletions(-)

diff --git a/links/.config/xmoto/config.dat b/links/.config/xmoto/config.dat @@ -1,8 +1,8 @@ <?xml version="1.0" encoding="utf-8"?> <userconfig> - <var name="DisplayWidth" value="800" /> - <var name="DisplayHeight" value="600" /> + <var name="DisplayWidth" value="1366" /> + <var name="DisplayHeight" value="768" /> <var name="DisplayBPP" value="32" /> <var name="DisplayWindowed" value="true" /> <var name="DisplayMaxRenderFPS" value="50" /> diff --git a/links/.surf/script.js b/links/.surf/script.js @@ -170,7 +170,7 @@ function initKeyBind(e){ var t = e.target; if( t.nodeType == 1){ addKeyBind( 'C-f', 'hintMode()', e ); - addKeyBind( 'C-F', 'hintMode(true)', e ); + addKeyBind( 'C-o', 'hintMode(true)', e ); addKeyBind( 'C-c', 'removeHints()', e ); } } diff --git a/links/bin/backup-b2.sh b/links/bin/backup-b2.sh @@ -10,36 +10,30 @@ sgn_key="$enc_key" export PASSPHRASE="$(pass gpg-anders@adamsgaard.dk)" export SIGN_PASSPHRASE="$PASSPHRASE" +opts="--progress --sign-key $sgn_key --encrypt-key $enc_key" + function duplicity_b2 { local_dir="$1" b2_dir="$2" echo "Backing up home..." - duplicity --progress \ - --sign-key $sgn_key \ - --encrypt-key $enc_key \ + duplicity $opts \ --full-if-older-than 30D \ "$local_dir" b2://"$b2_account":"$b2_key"@"$b2_dir" echo "Cleaning up old backups..." - duplicity --progress \ - --sign-key $sgn_key \ - --encrypt-key $enc_key \ + duplicity $opts \ remove-older-than 90D \ b2://"$b2_account":"$b2_key"@"$b2_dir" echo "Cleaning up failures..." - duplicity --progress \ - --sign-key $sgn_key \ - --encrypt-key $enc_key \ + duplicity $opts \ cleanup --force \ b2://"$b2_account":"$b2_key"@"$b2_dir" echo "B2 collection status:" - duplicity --progress \ - --sign-key $sgn_key \ - --encrypt-key $enc_key \ + duplicity $opts \ collection-status \ b2://"$b2_account":"$b2_key"@"$b2_dir" }