nixos-config/home-manager/wayland/scripts/multimedia
Kiana Sheibani 264fc1406d
tweak: switch from jaq to jq
`jaq` is not really better than `jq`, and it's more useful to have
the more popular version in my environment.
2025-03-07 21:28:04 -05:00

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"