Skip to content

milodarling/Infinite-Activator-Listener-Template

Repository files navigation

Infinite-Activator-Listener-Template

An NIC template for Activator plugins that allows for infinite listeners!

To use this template, you'll need to get Cephei headers and Activator headers.

NOTE: This template using HBPreferences to manage preferences. To use HBPreferences, you'll need to set up Cephei.

This template basically uses preferences to keep track of the number of listeners that the user wants. All of the preferences for each listener are set with the keys being "listener-". For example, the name of the first listener would have the key "listener1-name", so you can easilsy load preferences based on which listener is called using the function in the main tweak file and [NSString stringWithFormat:@"listener%d-preference"]; and then act accordingly.

To build this, run $THEOS/bin/nicify.pl /path/to/activator_listener_infinite.nic or you can use my pre-compiled version.

About

An NIC template for Activator plugins that allows for infinite listeners!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published