diff options
author | Luke Bratch <luke@bratch.co.uk> | 2024-02-10 11:22:34 +0000 |
---|---|---|
committer | Luke Bratch <luke@bratch.co.uk> | 2024-02-10 11:22:34 +0000 |
commit | 1d758cff21ab9476d98b843896dc41aec987d1ff (patch) | |
tree | 3ff30ff662f071365fdf679931d5a6864aa27208 /markunread.py |
Diffstat (limited to 'markunread.py')
-rw-r--r-- | markunread.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/markunread.py b/markunread.py new file mode 100644 index 0000000..a5df3a4 --- /dev/null +++ b/markunread.py @@ -0,0 +1,11 @@ +import hexchat + +__module_name__ = "Mark Unread" +__module_author__ = "Luke Bratch" +__module_version__ = "0.0.1" +__module_description__ = "Add a Mark Unread command to the tab context menu" + +hexchat.command('MENU -p1 ADD "$TAB/Mark Unread" "py exec import xchat; cnc = xchat.find_context(channel=\'%s\'); cnc.command(\'gui color 2\')"') +# Remove with: /MENU DEL "$TAB/Mark Unread" + +hexchat.prnt(__module_name__ + " version " + __module_version__ + " loaded") |