Skip to content

cparich/sleepwalk2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sleepwalk2

A sleepwalk implementation for PinePhone and PinePhone Pro

Heavy inspiration taken from

Requires C++20, Qt5.15, libfmt-dev but you can probably get it working with less

This program uses systemd and gnome dbus services to poll for inhibits and perform sleep commands.

Also takes some control of the front LED.

Should properly handle both the OG PinePhone and PinePhone Pro, PRs welcome if you find it's broken.

Working:

  • Notification Detection
  • Call Inhibit
  • Sleep
  • Sleepwalk

ToDo:

  • Detect Wifi Hotspot
  • Detect Audio Playing

To build:

$ qmake -config debug
$ make

To build your very own debian package:

$ debuild -us -uc

will generate a debian package in ../sleepwalk2_x.x.x_arm64.deb. You can install with just

sudo apt install ../sleepwalk2_x.x.x_arm64.deb

About

A sleepwalk implementation for PinePhone and PinePhone Pro

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published