diff options
Diffstat (limited to 'custom')
| -rw-r--r-- | custom/uucp-mediaclient.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/custom/uucp-mediaclient.nix b/custom/uucp-mediaclient.nix index 2847ebe8..a9a3477c 100644 --- a/custom/uucp-mediaclient.nix +++ b/custom/uucp-mediaclient.nix | |||
| @@ -18,9 +18,9 @@ let | |||
| 18 | inherit zsh coreutils utillinux; | 18 | inherit zsh coreutils utillinux; |
| 19 | wrapperdir = config.security.wrapperDir; | 19 | wrapperdir = config.security.wrapperDir; |
| 20 | mediadir = cfg.mediaDir; | 20 | mediadir = cfg.mediaDir; |
| 21 | donotify = cfg.notify.users != []; | 21 | donotify = if cfg.notify.users != [] then "true" else "false"; |
| 22 | showtitle = cfg.notify.extractTitle; | 22 | showtitle = if cfg.notify.extractTitle then "true" else "false"; |
| 23 | ffmpeg = if donotify then ffmpeg-full else "/no-such-path"; | 23 | ffmpeg = if cfg.notify.users != [] then ffmpeg-full else "/no-such-path"; |
| 24 | notify = writeScript "notify.sh" '' | 24 | notify = writeScript "notify.sh" '' |
| 25 | #!${zsh}/bin/zsh | 25 | #!${zsh}/bin/zsh |
| 26 | 26 | ||
