Compare commits
4 commits
55c2eeb65f
...
55b84cb269
Author | SHA1 | Date | |
---|---|---|---|
55b84cb269 | |||
275cf954c6 | |||
b2e420d5a0 | |||
8c8932e775 |
3 changed files with 27 additions and 8 deletions
15
bin/rsync.sh
15
bin/rsync.sh
|
@ -35,7 +35,8 @@ ARGS='-avz --delete
|
||||||
--exclude /.gradle
|
--exclude /.gradle
|
||||||
--exclude ./Software
|
--exclude ./Software
|
||||||
--exclude /.local
|
--exclude /.local
|
||||||
--exclude /.DataGrip*'
|
--exclude /.DataGrip*
|
||||||
|
--exclude /OneDrive'
|
||||||
ORIG='/home/dbroqua/'
|
ORIG='/home/dbroqua/'
|
||||||
DEST=''
|
DEST=''
|
||||||
HOSTNAME=`hostname`
|
HOSTNAME=`hostname`
|
||||||
|
@ -46,7 +47,7 @@ UUID='6e3f7ae3-8fa1-43f3-88c0-a12651519ffb'
|
||||||
MOUNT='/mnt/backup'
|
MOUNT='/mnt/backup'
|
||||||
DEST_USB="/mnt/backup/${HOSTNAME}/dbroqua/"
|
DEST_USB="/mnt/backup/${HOSTNAME}/dbroqua/"
|
||||||
# SSHFS
|
# SSHFS
|
||||||
DEST_SSHFS="storage:Backup/${HOSTNAME}/dbroqua/"
|
DEST_SSHFS="dmc-12:Backup/${HOSTNAME}/dbroqua/"
|
||||||
|
|
||||||
|
|
||||||
while getopts t:h opt
|
while getopts t:h opt
|
||||||
|
@ -89,14 +90,12 @@ if [ "${TYPE}" != '' ] ; then
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo $?
|
|
||||||
|
|
||||||
if [ $? == 0 ] ; then
|
if [ $? == 0 ] ; then
|
||||||
echo `date` > ${ORIG}/lastBackup
|
echo `date` > ${ORIG}lastBackup
|
||||||
echo "Method: ${TYPE}" >> ${ORIG}/lastBackup
|
echo "Method: ${TYPE}" >> ${ORIG}/lastBackup
|
||||||
rm ${ORIG}/lastFailBackup
|
rm ${ORIG}lastFailBackup
|
||||||
else
|
else
|
||||||
echo `date` > ${ORIG}/lastFailBackup
|
echo `date` > ${ORIG}lastFailBackup
|
||||||
echo "Method: ${TYPE}" >> ${ORIG}/lastFailBackup
|
echo "Method: ${TYPE}" >> ${ORIG}lastFailBackup
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
@ -8,6 +8,25 @@
|
||||||
# References:
|
# References:
|
||||||
# https://github.com/alacritty/alacritty
|
# 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:
|
font:
|
||||||
size: 9
|
size: 9
|
||||||
normal:
|
normal:
|
||||||
|
|
|
@ -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 lagrosseReggae='mpv http://hd.lagrosseradio.info/lagrosseradio-reggae-192.mp3'
|
||||||
alias radioDoom='mpv -playlist http://kuorinka.duckdns.org:2718/doom.m3u'
|
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 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"
|
alias dh="dfc -t xfs,ext2 2>/dev/null"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue