nix-setup/ssy.script.nix

10 lines
197 B
Nix
Raw Permalink Normal View History

2024-11-04 00:23:23 +01:00
with import <nixpkgs> {};
pkgs.writeShellScriptBin "ssy" ''
#!/bin/sh
2024-11-04 00:30:55 +01:00
startsync > /dev/null 2>&1 & disown
2024-11-04 16:38:50 +01:00
sleep 1.2
2024-11-04 00:30:55 +01:00
while ! ls ~/sync/Passwords.kdbx > /dev/null 2>&1 ; do sleep 0.1 ; done
2024-11-04 00:23:23 +01:00
''