summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2015-07-07 19:27:59 +0200
committertv <tv@krebsco.de>2015-07-07 19:28:57 +0200
commit532ab2d0f80b22ab00ca57cc4948e264ad9b1e3d (patch)
tree8d868413d02aa1d1bf5542da86fd5f7fada020ea
parentbb73241380b309a4ebb9cb8bc6796aa173170c30 (diff)
nomic play: exec mpv
-rw-r--r--modules/nomic/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/nomic/default.nix b/modules/nomic/default.nix
index 7696337..2485a96 100644
--- a/modules/nomic/default.nix
+++ b/modules/nomic/default.nix
@@ -62,7 +62,7 @@ in
(writeScriptBin "play" ''
#! /bin/sh
set -euf
- mpv() { ${mpv}/bin/mpv "$@"; }
+ mpv() { exec ${mpv}/bin/mpv "$@"; }
case $1 in
deepmix) mpv http://deepmix.ru/deepmix128.pls;;
groovesalad) mpv http://somafm.com/play/groovesalad;;