From 532ab2d0f80b22ab00ca57cc4948e264ad9b1e3d Mon Sep 17 00:00:00 2001 From: tv Date: Tue, 7 Jul 2015 19:27:59 +0200 Subject: nomic play: exec mpv --- modules/nomic/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules') 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;; -- cgit v1.2.3