Move rclone out of autostart_blocking

- Put rclone sync in autostart so dwm isn't prevented from starting
This commit is contained in:
Sravan Balaji
2020-07-26 18:45:58 -04:00
parent cc1f6ffbc2
commit 0a4ab3b407
2 changed files with 21 additions and 18 deletions

View File

@ -1,22 +1,5 @@
#!/bin/bash
# Local cloud storage directory
local_clone_dir="$HOME/Cloud"
# List of remotes as defined in rclone
declare -a remote_array=(\
"OneDrive - Personal" \
"Google Drive - Personal" \
)
# Mount Remotes
for i in "${remote_array[@]}"
do
local_path="$local_clone_dir"/"$i"
mkdir -p "$local_path"
rclone --vfs-cache-mode writes mount "$i": "$local_path" &
done
# Start compositor using configuration file
picom --config ~/.config/picom/picom.conf &
@ -24,4 +7,5 @@ picom --config ~/.config/picom/picom.conf &
nitrogen --restore &
# Blue light filter (Farmington Hills, MI)
redshift -l 42.48531:-83.37716 &
redshift -l 42.48531:-83.37716 &