nix-setup/ssy.script.nix

9 lines
197 B
Nix

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