Move rclone out of autostart_blocking
- Put rclone sync in autostart so dwm isn't prevented from starting
This commit is contained in:
19
autostart.sh
Executable file
19
autostart.sh
Executable file
@@ -0,0 +1,19 @@
|
||||
#!/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
|
||||
|
Reference in New Issue
Block a user