X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=brc;h=08f4e79524f37490c58fb6eb0e2cba933695b18f;hb=cb16d3950c49e44e40c765db5c50fc4f961fee29;hp=6389c0466b5ce31d4f602f672c7da95cbbe2755b;hpb=88a54cdff583fe1acdd0e441a331b5fcb570e258;p=distro-setup diff --git a/brc b/brc index 6389c04..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,14 +1781,6 @@ tm() { (sleep $(calc "$@ * 60") && mpv --no-config --volume 50 /a/bin/data/alarm.mp3) > /dev/null 2>&1 & } -tpx2() { - case $HOSTNAME in - tp) target=x2 ;; - x2) target=tp ;; - esac - btrbk-run -t $target -pv && switch-mail-host $HOSTNAME $target -} - trg() { transmission-remote-gtk&r; } trc() { # example, set global upload limit to 100 kilobytes: