Switch from jq to jaq
This commit is contained in:
parent
59104fda7c
commit
7e6c855b40
|
@ -3,7 +3,7 @@
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
ffmpeg
|
ffmpeg
|
||||||
openssl
|
openssl
|
||||||
jq
|
jaq
|
||||||
git
|
git
|
||||||
wget
|
wget
|
||||||
libnotify
|
libnotify
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
notify-send "$1" -c multimedia -a "$2" \
|
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"
|
-h "INT:value:$3"
|
||||||
|
|
Loading…
Reference in a new issue