All Projects → FedeDP → Clight

FedeDP / Clight

Licence: gpl-3.0
A C daemon that turns your webcam into a light sensor. It will adjust screen backlight based on ambient brightness.

Programming Languages

c
50402 projects - #5 most used programming language

Projects that are alternatives of or similar to Clight

WebCamCap
Motion capture tool for 2D/3D motion capture with LED markers.
Stars: ✭ 20 (-94.61%)
Mutual labels:  capture, webcam
Auto Cpufreq
Automatic CPU speed & power optimizer for Linux
Stars: ✭ 843 (+127.22%)
Mutual labels:  daemon, battery
Xsuspender
👀 💻 💤 🔋 Save battery by auto-suspending unfocused X11 applications.
Stars: ✭ 53 (-85.71%)
Mutual labels:  daemon, battery
funcd
Daemon for functional keys (works without X11)
Stars: ✭ 14 (-96.23%)
Mutual labels:  daemon, brightness
service-systemd
Setup a node.js app as systemd service.
Stars: ✭ 35 (-90.57%)
Mutual labels:  daemon, systemd
bat
Battery management utility for Linux laptops.
Stars: ✭ 107 (-71.16%)
Mutual labels:  battery, systemd
swaystatus
A minimal executable for displaying sway status per second
Stars: ✭ 14 (-96.23%)
Mutual labels:  battery, brightness
powersave
Linux power save settings, compatible with systemd
Stars: ✭ 79 (-78.71%)
Mutual labels:  battery, systemd
Luminous
Luminous provides you a lot of information about the system and a lot of handy methods to quickly get useful data on the iOS platform.
Stars: ✭ 298 (-19.68%)
Mutual labels:  battery
Anyimagekit
A toolbox for pick/edit/capture photo or video. Written in Swift.
Stars: ✭ 324 (-12.67%)
Mutual labels:  capture
Ngircd
Free, portable and lightweight Internet Relay Chat server
Stars: ✭ 292 (-21.29%)
Mutual labels:  daemon
Webcam
Golang webcam library for Linux
Stars: ✭ 301 (-18.87%)
Mutual labels:  webcam
Dmenu Extended
An extension to dmenu for quickly opening files and folders.
Stars: ✭ 334 (-9.97%)
Mutual labels:  systemd
Ip2unix
Turn IP sockets into Unix domain sockets
Stars: ✭ 295 (-20.49%)
Mutual labels:  systemd
Bluetooth headset battery level
A python script to get battery level from Bluetooth headsets
Stars: ✭ 351 (-5.39%)
Mutual labels:  battery
Pisugar
PiSugar is a battery module for Raspberry Pi zero / zero W / zero WH
Stars: ✭ 287 (-22.64%)
Mutual labels:  battery
Fluxion
Fluxion is a remake of linset by vk496 with enhanced functionality.
Stars: ✭ 3,275 (+782.75%)
Mutual labels:  capture
Ecominit
eComInit is a free init system and service manager designed to scale from lightweight desktops to web-scale cloud deployments. It aims to offer feature-parity with systemd but with a modular, portable architecture compliant with software engineering best-practice.
Stars: ✭ 352 (-5.12%)
Mutual labels:  systemd
Diybmsv4
Version 4 of the diyBMS
Stars: ✭ 340 (-8.36%)
Mutual labels:  battery
React Native System Setting
A library to access system setting, and change it easily. eg: volume, brightness, wifi
Stars: ✭ 319 (-14.02%)
Mutual labels:  brightness

Clight builds.sr.ht status

Packaging status

Clight is a C user daemon utility that aims to fully manage your display.
It was heavily inspired by calise in its initial intents.

For a guide on how to build, features and lots of other infos, head to Clight Wiki Pages.
Note that Wiki pages will always refer to master branch.
For any other info, please feel free to open an issue.

Features

Clight allows to match your backlight level to ambient brightness, computed by capturing frames from webcam or Ambient Light Sensors.
It does also support adjusting external monitors and keyboard backlight.
Moreover, it can manage your screen temperature, just like redshift does.
Finally, it can dim your screen after a timeout and manage screen DPMS.

Note that all its features are available on both X, Wayland and tty and can be turned off from its config file.
On wayland Clight requires specific protocols to be implemented by your compositor; have a look at https://github.com/FedeDP/Clight/wiki/Modules#wayland-support.

GUI

Github user nullobsi created a (super nice!) qt gui for clight, with a useful tray applet too.
Remember to check it out: https://github.com/nullobsi/clight-gui!

Developers Corner

Clight makes use of Clightd, a system DBus service that exposes an API to manage various aspects of your screen and allows Webcam/ALS devices captures.
Its API is as generic as possible and it has nothing specifically for Clight; this means anyone can make use of it.
If you are interested, please have a look at its wiki pages too!
Indeed i even developed a super simple Clight clone as an hello world application in Go: https://github.com/FedeDP/GoLight.
It is much simpler than Clight for obvious reasons and i do not expect to develop it further.

Both Clight and Clightd make use of libmodule, a C library developed with modularity in mind that offers a simple actor framework for C, with an integrated event loop.

Morever, note that Clight exposes a DBus API itself too; it allows quickly testing config values or building scripts around it, eg: https://github.com/FedeDP/Clight/wiki/DE-Automation.
Finally, it can also be expanded through Custom modules that enable users to build their own plugins to further customize Clight behaviour.

Packages

Clight is available on Archlinux AUR as both stable or devel package: https://aur.archlinux.org/packages/?K=clight .
Note that devel package may break in some weird ways during development. Use it at your own risk.

Moreover, some brave distros are already shipping Clight as you can see from above packaging badge. Special thanks to all maintainers!

License

This software is distributed with GPL license, see COPYING file for more informations.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].