Switch from jq to jaq

This commit is contained in:
Kiana Sheibani 2024-02-10 23:39:10 -05:00
parent 59104fda7c
commit 7e6c855b40
2 changed files with 2 additions and 2 deletions

View file

@ -3,7 +3,7 @@
environment.systemPackages = with pkgs; [
ffmpeg
openssl
jq
jaq
git
wget
libnotify

View file

@ -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"