Trim content in discord notifications
Fix json escaping in discord-notify
Add systemd-unit-notify
This is a collection of more or less small scripts I wrote to automate things.
Imports music from a downloaded bandcamp zip file into ~/Music// and into the default cmus library.
Usage:
$ ./import-bc.sh ./Artist\ -\ Album.zip
Sends a discord notification via Discord Webhooks. The system hostname is used as bot username.
Usage:
$ ./discord-notify.sh "Hello, World!"
Notifies of a systemd unit failure including the last journal entries via Discord Webhooks.
Basically discord-notify
extended with some systemd stuff.
Usage:
$ ./systemd-unit-notify.sh my-unit