Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rtyler/mcabber-utils
Some mcabber utilities I have running around
https://github.com/rtyler/mcabber-utils
Last synced: 3 months ago
JSON representation
Some mcabber utilities I have running around
- Host: GitHub
- URL: https://github.com/rtyler/mcabber-utils
- Owner: rtyler
- Archived: true
- Created: 2009-01-21T06:21:57.000Z (almost 16 years ago)
- Default Branch: master
- Last Pushed: 2009-05-02T00:50:42.000Z (over 15 years ago)
- Last Synced: 2024-05-19T23:37:09.737Z (6 months ago)
- Language: Python
- Homepage:
- Size: 250 KB
- Stars: 12
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
_ __ ___ ___ __ _ | |__ | |__ ___ _ __ _ _ | |_ (_) | | ___
| '_ ` _ \ / __| / _` | | '_ \ | '_ \ / _ \ | '__| _____ | | | | | __| | | | | / __|
| | | | | | | (__ | (_| | | |_) | | |_) | | __/ | | |_____| | |_| | | |_ | | | | \__ \
|_| |_| |_| \___| \__,_| |_.__/ |_.__/ \___| |_| \__,_| \__| |_| |_| |___/
----------------------------------------------------------------------------------------------mcabbernotify.py
******************
******************SETTING UP EVENTS COMMAND
=============================
In order for mcabbernotify.py to read anything, you will need to set the following
options in your mcabberrc file that you use:
set events_command = ~/.mcabber/eventcmd
set events_ignore_active_window = 1
set eventcmd_use_nickname = 1Then you'll want to move the "eventcmd" in this directory into ~/.mcabber and make sure it is executable
SPECIAL NOTES FOR MAC USERS
==============================
To use mcabbernotify on Mac OS X, you should install the "growlnotify" extra (it's a command-line
interface to Growl). You can install this by running "install.sh" in the Extras/growlnotify/
directory in the download.USING IT LOCALLY
===================
If you use mcabber on your local machine, you will simply need to run:
tail -F ~/.mcabber/last_event | path/to/mcabbernotify.pyUSING IT REMOTELY
===================
In the situation where you run mcabber remotely, and want notifications locally, you can use the following command:
ssh hostname -C "tail -F ~/.mcabber/last_event" | path/to/mcabbernotify.py