Switch from jq to jaq
This commit is contained in:
parent
59104fda7c
commit
7e6c855b40
|
@ -3,7 +3,7 @@
|
|||
environment.systemPackages = with pkgs; [
|
||||
ffmpeg
|
||||
openssl
|
||||
jq
|
||||
jaq
|
||||
git
|
||||
wget
|
||||
libnotify
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
notify-send "$1" -c multimedia -a "$2" \
|
||||
$(makoctl list | jq -r 'first(.data[][]|select(.category.data=="multimedia")|.id.data|["-r",.])[]') \
|
||||
$(makoctl list | jaq -r 'first(.data[][]|select(.category.data=="multimedia")|.id.data|["-r",.])[]') \
|
||||
-h "INT:value:$3"
|
||||
|
|
Loading…
Reference in a new issue