nixos-config/home-manager/wayland/scripts/multimedia

5 lines
195 B
Bash
Executable file

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