From 0b96e7967cd3d7b7fba352b8eb262106bbc73b2e Mon Sep 17 00:00:00 2001 From: TudbuT Date: Mon, 4 Nov 2024 00:34:07 +0100 Subject: [PATCH] ssy: wait for unmount --- ssy.script.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/ssy.script.nix b/ssy.script.nix index 8237dd9..19fbda4 100644 --- a/ssy.script.nix +++ b/ssy.script.nix @@ -3,6 +3,7 @@ with import {}; pkgs.writeShellScriptBin "ssy" '' #!/bin/sh startsync > /dev/null 2>&1 & disown + while ls ~/sync/Passwords.kdbx > /dev/null 2>&1 ; do sleep 0.1 ; done while ! ls ~/sync/Passwords.kdbx > /dev/null 2>&1 ; do sleep 0.1 ; done ''