add bin (scripts)

This commit is contained in:
2024-02-19 20:37:09 +01:00
parent 075f2deaf0
commit b54b08442a
26 changed files with 2056 additions and 0 deletions

9
bin/onedrive Executable file
View File

@ -0,0 +1,9 @@
#!/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