nix-setup/ssy.script.nix

8 lines
186 B
Nix

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