forked from carrot69/keep-presence
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- added snapcraft.yaml file
- Loading branch information
Showing
3 changed files
with
51 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
.idea | ||
.idea | ||
src/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
name: keep-presence | ||
version: '1.0.1' | ||
summary: Keep Presence | ||
description: | | ||
Moves the mouse or press a key when it detects you are away. | ||
Useful to trick your computer to think you are still working with it. | ||
grade: stable | ||
confinement: strict | ||
base: core18 | ||
|
||
parts: | ||
copy-stuff: | ||
plugin: dump | ||
source: ./src | ||
keep-presence: | ||
plugin: python | ||
python-version: python3 | ||
source: . | ||
dlib: | ||
plugin: python | ||
python-packages: | ||
- pynput | ||
|
||
apps: | ||
keep-presence: | ||
command: python3 $SNAP/keep-presence.py | ||
plugs: | ||
- x11 |