Configuration

farsightwm.switchpipe.configuration:checkEnabled

Checks weather the automatic switchpipe triggering is enabled for a given service or not. If it is not enabled, calling the service farsightwm.switchpipe.flow:switchpipe without a debugID will not do anything.

farsightwm.switchpipe.configuration:configureService

Configure a service for autotriggering. You may define if a serivce is enabled/disabled or if it shoulg be enabled for a given number of invokes or until a defined date.

farsightwm.switchpipe.configuration:listServices

Returns a list of configured services along with their configuration.

farsightwm.switchpipe.configuration:reloadConfiguration

If a configuration file is used, this service reloads the configuration file and ajusts the settings according to the current setup from the file.

farsightwm.switchpipe.configuration:showConfiguration

Returns the current configuration

Switching pipelines

Services in this section normally use this set of input parameters:

farsightwm.switchpipe.flow:loadPipelineDocument

Loads a pipeline and returns it as an document

farsightwm.switchpipe.flow:restorePipeline

Loads a pipeline and replaces the current pipeline with the loaded one.

farsightwm.switchpipe.flow:storePipeline

Stores the current pipeline.

farsightwm.switchpipe.flow:storePipelineDocument

Stores a provieded document as a pipeline.

farsightwm.switchpipe.flow:switchpipe

Automatically stores or restores a pipeline depending of the presenece of the paramter debugID in the current pipeline. If you use this service make sure, that the parameter debugID is not set accidentially as you might get unexpected behavior if you restore a pipeline accedentuially!