Added rsync backup scripts and my current DWM bar script
parent
05f6f93641
commit
f05a51169e
@ -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
|
||||
@ -0,0 +1,2 @@
|
||||
rsync --ignore-existing -azP documents /mnt/usb
|
||||
rsync --ignore-existing -azP pictures /mnt/usb
|
||||
@ -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 &
|
||||
Loading…
Reference in New Issue