diff --git a/backup/rsync_backup b/backup/rsync_backup new file mode 100755 index 0000000..af34f76 --- /dev/null +++ b/backup/rsync_backup @@ -0,0 +1,6 @@ +rsync --ignore-existing --delete -azP books /mnt/ssd +rsync --ignore-existing --delete -azP documents /mnt/ssd +rsync --ignore-existing --delete -azP isos /mnt/ssd +rsync --ignore-existing --delete -azP music /mnt/ssd +rsync --ignore-existing --delete -azP pictures /mnt/ssd +rsync --ignore-existing --delete -azP videos /mnt/ssd diff --git a/backup/rsync_usb b/backup/rsync_usb new file mode 100755 index 0000000..1057596 --- /dev/null +++ b/backup/rsync_usb @@ -0,0 +1,2 @@ +rsync --ignore-existing -azP documents /mnt/usb +rsync --ignore-existing -azP pictures /mnt/usb diff --git a/config/bar.sh b/config/bar.sh new file mode 100755 index 0000000..d372371 --- /dev/null +++ b/config/bar.sh @@ -0,0 +1,15 @@ +#!/bin/bash + +while true; do + + # Build the status bar + status_bar="" + status_bar+=" $USER" + status_bar+=" $(cat /sys/class/power_supply/BAT0/capacity)%" + status_bar+=" $( date +"%A %d/%m/%Y %R" )" + + # Set the status bar + xsetroot -name "$status_bar" + sleep 1m + +done &