Trim content in discord notifications
Fix json escaping in discord-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.
$ ./import-bc.sh ./Artist\ -\ Album.zip
Sends a discord notification via Discord Webhooks. The system hostname is used as bot username.
$ ./discord-notify.sh "Hello, World!"
Notifies of a systemd unit failure including the last journal entries via Discord Webhooks.
discord-notify extended with some systemd stuff.
$ ./systemd-unit-notify.sh my-unit