I didn't find anything personally wrong with the script working, I'm trying to figure out a bash script that will notify me of new members joining as well as one that will notify me of new posts to the community. unfortunately I'm not very well versed in bash scripting. Do you think you could come up with some rudimentary bash script that would allow this to push a notification to my desktop? I use KDE so I would need to figure out a way to push the info to that DE. Any help would be appreciated.
Linux Troubleshooting and scripts
this is a community for sharing your scripts that help when working with Linux as well a general troubleshooting.
Rules
-
Absolutely NO NSFW posts. break this rule and you will be removed from this community. NO EXCEPTIONS!
-
Only post scripts that help yourself and others. All scripts will be tested on my machine personally, any malicious scripts will be removed immediately.
-
This community is for the benefit of other Linux users. no bigotry, hate, nudes, malicious scripts or politics allowed.
Feel free to ask any kind of support questions, as we grow more succinct answers will be available. Let's make this community grow.
We are important to one another, not only in the linux world but also in the fediverse as a whole. Feel free to reach out to me with questions or concerns, as we grow bigger I will look into adding mods. (This section will be updated as needed.)
I just use ntfy for notifications. I've only ever got the python3 version to install (with 'apt install python3-pip' and then 'pip3 install ntfy'), but after that's done, a desktop notification can be sent with:
ntfy -b linux send 'msg'
Cool, I’ll try that out