10 lines
344 B
Plaintext
10 lines
344 B
Plaintext
|
#!/bin/bash
|
||
|
if [[ $(mount | grep OneDrive) ]]; then
|
||
|
fusermount -uz ~/Vzdálené/OneDrive
|
||
|
notify-send -i system-file-manager "OneDrive disk ODPOJEN"
|
||
|
else
|
||
|
rclone --vfs-cache-mode full mount "onedrive": ~/Vzdálené/OneDrive &
|
||
|
dolphin ~/Vzdálené/OneDrive/ &
|
||
|
notify-send -i system-file-manager "OneDrive disk PŘIPOJEN"
|
||
|
fi
|