diff options
author | Gregor Kleen <pngwjpgh@users.noreply.github.com> | 2016-10-02 18:09:27 +0200 |
---|---|---|
committer | Gregor Kleen <pngwjpgh@users.noreply.github.com> | 2016-10-02 18:09:27 +0200 |
commit | dcd159cd0186512be7718a33b9cc8a39c4b0cc1f (patch) | |
tree | 4f60ea582569712b93a9b11c0c6b628b342da394 /hel | |
parent | 3258d18f195f04c4a070d0a3a61accafb3fcde53 (diff) | |
download | nixos-dcd159cd0186512be7718a33b9cc8a39c4b0cc1f.tar nixos-dcd159cd0186512be7718a33b9cc8a39c4b0cc1f.tar.gz nixos-dcd159cd0186512be7718a33b9cc8a39c4b0cc1f.tar.bz2 nixos-dcd159cd0186512be7718a33b9cc8a39c4b0cc1f.tar.xz nixos-dcd159cd0186512be7718a33b9cc8a39c4b0cc1f.zip |
notify of recv-media
Diffstat (limited to 'hel')
-rw-r--r-- | hel/recv-media.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/hel/recv-media.nix b/hel/recv-media.nix index e0306b9a..5943b253 100644 --- a/hel/recv-media.nix +++ b/hel/recv-media.nix | |||
@@ -22,4 +22,6 @@ writeScriptBin "recv-media" '' | |||
22 | ${eject}/bin/ionice -c 3 -t cp -vn --preserve=all "$1" "''${tmpFile}" && mv -v "''${tmpFile}" "''${target}" | 22 | ${eject}/bin/ionice -c 3 -t cp -vn --preserve=all "$1" "''${tmpFile}" && mv -v "''${tmpFile}" "''${target}" |
23 | touch -c -m -t "$2" "''${target}" | 23 | touch -c -m -t "$2" "''${target}" |
24 | fi | 24 | fi |
25 | |||
26 | printf "%s\n%s\n" $(basename "$1") "" | notify-gkleen -a recv-media || true | ||
25 | '' | 27 | '' |