diff --git a/autostart.sh b/autostart.sh new file mode 100755 index 0000000..59fc47d --- /dev/null +++ b/autostart.sh @@ -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 + diff --git a/autostart_blocking.sh b/autostart_blocking.sh index a510c5d..8fa9f8c 100755 --- a/autostart_blocking.sh +++ b/autostart_blocking.sh @@ -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 & \ No newline at end of file +redshift -l 42.48531:-83.37716 & +