nixos-config/scripts/multimedia

5 lines
185 B
Bash
Executable file

#!/usr/bin/env bash
notify-send "$1" -c multimedia -a "$2" \
$(makoctl list | jq -r 'first(.data[][]|select(.category.data=="multimedia")|.id.data|["-r",.])[]') \
-h "INT:value:$3"