evince
The files in the community/apps/evince
directory provide support for controlling the Evince document viewer application on Linux using Talon.
The core functionality is split between two files:
* evince_linux.py
: This Python file defines the application context and implements custom user actions for controlling Evince. It leverages the Talon API (actions
, Context
, Module
) to define the Evince application and its associated actions. The defined actions include moving to the next or previous page, jumping to a specific page number, navigating to the final page, and getting the current page number. It uses keyboard shortcuts within Evince to implement its functionality.
evince.talon
: This Talon file defines the application tag for Evince. It activates theuser.pages
tag whenever the Evince application is in focus, enabling the custom user actions defined inevince_linux.py
.