nixos/system/home/scripts/shell/mount-protondrive.sh

4 lines
191 B
Bash
Raw Normal View History

2025-01-13 06:39:03 +00:00
PROTONDRIVE="$HOME/ProtonDrive"
[ -d "$PROTONDRIVE" ] || mkdir -p "$PROTONDRIVE"
[ -z "$(ls -A "$PROTONDRIVE")" ] && rclone --vfs-cache-mode writes mount --daemon ProtonDrive: "$PROTONDRIVE"