Skip to content

A simple application to turn on the flashlight when the phone is shaken

Notifications You must be signed in to change notification settings

zschroeder6212/pine_gestures

Repository files navigation

Pine_GesturesTravisCI

Summary

A simple application for the pinephone to launch applications using gestures. Note that the camera will not work when running as a service.

Compiling

on phone or computer:
	make
	
on phone:
	sudo make install

Usage

To customize actions, simply edit /opt/pine_gestures/startup_gestures.sh using the command line arguments shown below.

pine_gestures [--shake_cmd <cmd>] [--twist_cmd <cmd>];
	--shake_cmd		path to cmd to be triggered by shake gesture or 'none' to disable. default: /usr/bin/toggleflash
	--twist_cmd		path to cmd to be triggered by twist gesture or 'none' to disable. default: /usr/bin/megapixels

About

A simple application to turn on the flashlight when the phone is shaken

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages