From cb16d3950c49e44e40c765db5c50fc4f961fee29 Mon Sep 17 00:00:00 2001 From: Ian Kelling Date: Tue, 2 Apr 2019 21:05:18 -0400 Subject: [PATCH] ordering --- brc | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/brc b/brc index 039fb7e..08f4e79 100644 --- a/brc +++ b/brc @@ -343,6 +343,21 @@ bigclock() { xclock -digital -update 1 -face 'arial black-80:bold' } +bpush() { + case $HOSTNAME in + tp) target=x2 ;; + x2) target=tp ;; + esac + btrbk-run -t $target && switch-mail-host $HOSTNAME $target +} +bpull() { + case $HOSTNAME in + tp) source=x2 ;; + x2) source=tp ;; + esac + btrbk-run -s $source && switch-mail-host $source $HOSTNAME +} + btc() { local f=/etc/bitcoin/bitcoin.conf # importprivkey will timeout if using the default of 15 mins. @@ -1766,21 +1781,6 @@ tm() { (sleep $(calc "$@ * 60") && mpv --no-config --volume 50 /a/bin/data/alarm.mp3) > /dev/null 2>&1 & } -bpush() { - case $HOSTNAME in - tp) target=x2 ;; - x2) target=tp ;; - esac - btrbk-run -t $target && switch-mail-host $HOSTNAME $target -} -bpull() { - case $HOSTNAME in - tp) source=x2 ;; - x2) source=tp ;; - esac - btrbk-run -s $source && switch-mail-host $source $HOSTNAME -} - trg() { transmission-remote-gtk&r; } trc() { # example, set global upload limit to 100 kilobytes: -- 2.30.2