summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <pngwjpgh@users.noreply.github.com>2016-10-02 18:09:27 +0200
committerGregor Kleen <pngwjpgh@users.noreply.github.com>2016-10-02 18:09:27 +0200
commitdcd159cd0186512be7718a33b9cc8a39c4b0cc1f (patch)
tree4f60ea582569712b93a9b11c0c6b628b342da394
parent3258d18f195f04c4a070d0a3a61accafb3fcde53 (diff)
downloadnixos-dcd159cd0186512be7718a33b9cc8a39c4b0cc1f.tar
nixos-dcd159cd0186512be7718a33b9cc8a39c4b0cc1f.tar.gz
nixos-dcd159cd0186512be7718a33b9cc8a39c4b0cc1f.tar.bz2
nixos-dcd159cd0186512be7718a33b9cc8a39c4b0cc1f.tar.xz
nixos-dcd159cd0186512be7718a33b9cc8a39c4b0cc1f.zip
notify of recv-media
-rw-r--r--hel/recv-media.nix2
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''