🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

github.com/cyrinux/waybar-eyes

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/cyrinux/waybar-eyes

v0.0.0-20230310105828-cd6132a92fc4
Source
Go
Version published
Created
Source

waybar-eyes

Go

This is a waybar applet to help you keeping your eyes.

This will try to detect your face and indicate you in waybar if you are stuck to your screen since too long time. This add a new eye in the bar every 15 minutes if a face is detected. This eyes number in the bar will decrease if you take a pause.

Requirements

  • golang >= 1.18
  • opencv4
  • qt5-base

Build

make

Config and run

Default value should be nice one. But if you want to configure it, you can run waybar-eyes -h to see the params, and maybe use a systemd unit override.

Waybar config

...
"modules-right": [
  "custom/eyes",
],
...
"custom/eyes": {
    "exec": "cat ~/.cache/waybar-eyes.json",
    "interval": 5,
    "return-type": "json",
    "on-click": "pkill -f -SIGUSR1 waybar-eyes",
},
...

Debug

DEBUG=1 waybar-eyes

Resources

You can test differents detection models from here

FAQs

Package last updated on 10 Mar 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts