-
-
Save benaryorg/60f1f7ed188c3ea8020c8f1276d6a3bd to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env zsh | |
artist="${1?}" | |
title="${2?}" | |
album="${3?}" | |
awesome-client <<END | |
naughty = require("naughty") | |
naughty.notify({title="MoC",text=$(jq -R . <<<"#np ${artist} – ${title} (${album})")}) | |
END |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Use in moc using something like: