ssy: wait until actually mounted

This commit is contained in:
Daniella / Tove 2024-11-04 00:29:00 +01:00
parent 95afe343bf
commit 720ecabbe8
Signed by: TudbuT
GPG key ID: B3CF345217F202D3

View file

@ -3,6 +3,6 @@ with import <nixpkgs> {};
pkgs.writeShellScriptBin "ssy" '' pkgs.writeShellScriptBin "ssy" ''
#!/bin/sh #!/bin/sh
startsync 2>&1 > /dev/null & disown startsync 2>&1 > /dev/null & disown
ls ~/sync 2>&1 > /dev/null while ! ls ~/sync/Passwords.kdbx 2>&1 > /dev/null ; do sleep 0.1 ; done
'' ''