Compare commits

..

4 commits

3 changed files with 27 additions and 8 deletions

View file

@ -35,7 +35,8 @@ ARGS='-avz --delete
--exclude /.gradle
--exclude ./Software
--exclude /.local
--exclude /.DataGrip*'
--exclude /.DataGrip*
--exclude /OneDrive'
ORIG='/home/dbroqua/'
DEST=''
HOSTNAME=`hostname`
@ -46,7 +47,7 @@ UUID='6e3f7ae3-8fa1-43f3-88c0-a12651519ffb'
MOUNT='/mnt/backup'
DEST_USB="/mnt/backup/${HOSTNAME}/dbroqua/"
# SSHFS
DEST_SSHFS="storage:Backup/${HOSTNAME}/dbroqua/"
DEST_SSHFS="dmc-12:Backup/${HOSTNAME}/dbroqua/"
while getopts t:h opt
@ -89,14 +90,12 @@ if [ "${TYPE}" != '' ] ; then
esac
fi
echo $?
if [ $? == 0 ] ; then
echo `date` > ${ORIG}/lastBackup
echo `date` > ${ORIG}lastBackup
echo "Method: ${TYPE}" >> ${ORIG}/lastBackup
rm ${ORIG}/lastFailBackup
rm ${ORIG}lastFailBackup
else
echo `date` > ${ORIG}/lastFailBackup
echo "Method: ${TYPE}" >> ${ORIG}/lastFailBackup
echo `date` > ${ORIG}lastFailBackup
echo "Method: ${TYPE}" >> ${ORIG}lastFailBackup
fi

View file

@ -8,6 +8,25 @@
# References:
# https://github.com/alacritty/alacritty
#
live_config_reload: true
window:
opacity: 0.8
decorations: 'none'
bell:
animation: 'EaseOutCubic'
duration: 125
color: '#bf616a'
cursor:
style:
shape: 'underline'
blinking: Always
blink_interval: 250
unfocused_hollow: true
font:
size: 9
normal:

View file

@ -29,6 +29,7 @@ alias lagrosseMetal='mpv http://hd.lagrosseradio.info/lagrosseradio-metal-192.mp
alias lagrosseReggae='mpv http://hd.lagrosseradio.info/lagrosseradio-reggae-192.mp3'
alias radioDoom='mpv -playlist http://kuorinka.duckdns.org:2718/doom.m3u'
alias highVoltage='mpv https://strm112.1.fm/highvoltage_mobile_mp3' # https://prod.radio-api.net/stations/now-playing?stationIds=1fmhighvoltage
alias music='sshfs dmc-12:/srv/dev-disk-by-label-storage/medias/Music ~/Music'
alias dh="dfc -t xfs,ext2 2>/dev/null"