Skip to content
A HexChat plugin to set away on idle
C CMake
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
CMakeLists.txt Reuse HexChat's existing X11 connection instead of opening a new one Aug 14, 2016
COPYING
README.md
autoaway.c

README.md

AutoAway for HexChat

This HexChat plugin will automatically mark you away when your computer is idle. It works on systems that use the GTK+ X11 backend, such as GNU/Linux.

Dependencies

  • HexChat
  • X11 and Xss (X Screen Saver extension) libraries
  • GTK+ 2
  • CMake and pkg-config (for building)

Building and installation

cd hexchat-autoaway
cmake -DCMAKE_BUILD_TYPE=Release .
make
cp libautoaway.so ~/.config/hexchat/addons

Configuration

The plugin should work out of the box. To change the default settings, close HexChat and edit the file ~/.config/hexchat/addon_autoaway.conf.

Settings list:

  • away_msg: The away message to set (default: Idle)
  • idle_time: The idle time after which the user is considered being away, in seconds (default: 600)
  • polling_timeout: The X status polling period, in seconds (default: 10)
  • away_extra: Extra per-server command to execute when going away (default: empty)
  • back_extra: Extra per-server command to execute when returning back (default: empty)

To execute multiple extra commands on away/back, create a text file with the commands and set away_extra/back_extra to LOAD -e <file>.

Related software

You can’t perform that action at this time.