`jaq` is not really better than `jq`, and it's more useful to have the more popular version in my environment.
4 lines
194 B
Bash
Executable file
4 lines
194 B
Bash
Executable file
#!/usr/bin/env bash
|
|
notify-send "$1" "$2" -c multimedia -a "$3" \
|
|
$(makoctl list | jq -r 'first(.data[][]|select(.category.data=="multimedia")|.id.data|["-r",.])[]') \
|
|
-h "INT:value:$4"
|