Clight(1)

πŸ“¦
version 4.11 Β· 2 versions
, in nixos 26.05

πŸ’– NAME πŸ’–

Clight β€” a user daemon utility that aims to fully manage your display. That's it, that's the whole vibe. It's Clight(1), section 1 of the manual, and bestie it is so much more than it sounds, keep reading πŸ‘‘


✨ SYNOPSIS ✨

clight [-vw?] [-f, --frames INT] [-d, --device video0] [-b, --backlight
intel_backlight]
[--no-backlight-smooth] [--no-gamma-smooth] [--no-dimmer-smooth-enter]
[--no-dimmer-smooth-exit]
[--day-temp INT] [--night-temp INT] [--lat DOUBLE] [--lon DOUBLE]
[--sunrise 07:00] [--sunset 19:00]
[--no-gamma] [--no-dimmer] [--no-dpms] [--no-backlight] [--no-screen]
[--no-kbd]
[--dimmer-pct DOUBLE] [--no-auto-calib] [--shutter-thres DOUBLE]
[--gamma-long-transition] [--ambient-gamma]
[-c, --conf-file STRING] [-w, --wizard] [--verbose] [-v, --version] [-?,
--help] [--usage]

That's the whole launch menu, no cap. Every flag below has its moment πŸ’…


πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so here's the tea β˜• β€” clight lets you match your backlight level to ambient brightness, and that ambient brightness is computed by capturing frames from webcam or Ambient Light Sensors. Like, it literally looks at the room and goes "mm, yes, this is the brightness we're doing today" 🌸

It does also support adjusting external monitors and keyboards backlight, which honestly? iconic. Multi-device queen behavior πŸ‘‘

Moreover, it can manage your screen temperature, dim your screen after a timeout, and manage screen DPMS. So it's giving full display custody arrangement, and you're the one winning 🫢


πŸŽ€ OPTIONS πŸŽ€

  • -c, --conf-file config-file β€” Parse an additonal config-file to override other configs. Yes, extra configs, on top of the ones you already have β€” it overrides them πŸ’–
  • -v, --version β€” Print program version. Literally just tells you what version you're on, and honestly sometimes that's enough 🫢
  • -w, --wizard β€” Run a small wizard to calibrate sensor curve. A wizard. In your terminal. Go be the main character of your own sensor calibration 🧚
  • -f, --frames number β€” Customize frames taken for each capture, between 1 and 20. Respect the range, bestie, it's not a suggestion ✨
  • -d, --device device β€” Specify sensor device. If empty, first matching device is used. So if you don't pick a fave, it just adopts the first one it finds, lowkey πŸ¦‹
  • --no-backlight-smooth β€” Disable backlight smooth transitions. Instant jumps only, no gentle glide πŸ’€
  • --no-gamma-smooth β€” Disable gamma smooth transitions. Same energy, but for gamma 🌈
  • --no-dimmer-smooth-enter β€” Disable smooth transitions while entering dimmed state. Dimming go snap, not swoosh πŸ™ˆ
  • --no-dimmer-smooth-exit β€” Disable smooth transitions while leaving dimmed state. Waking back up is now abrupt, periodt ✨
  • --day-temp number β€” Customize daily screen temperature. Your daytime glow-up, your rules 🌞
  • --night-temp number β€” Customize nightly screen temperature. Cozy hours, cozy kelvins πŸŒ™
  • --gamma-long-transition β€” Enable a very long smooth transition for gamma (redshift-like). Emphasis on very long. It's a slow burn, iykyk πŸ”₯
  • --ambient-gamma β€” Enable screen temperature matching ambient brightness instead of being time based. So it stops clock-watching and starts room-reading πŸ‘€
  • --lat double β€” Desired latitude. Yep, actual coordinates, we're being geographic now πŸ—ΊοΈ
  • --lon double β€” Desired longitude. The other half of the coordinates, matching set fr fr 🌍
  • --sunrise time β€” Specify sunrise time for gamma correction. Like 07:00 in the synopsis β€” that's your golden hour cue ⭐
  • --sunset time β€” Specify sunset time for gamma correction. 19:00 in the synopsis, and then it's cozy mode 😌
  • --no-gamma β€” Disable gamma correction tool. Off. Gone. Not today βœ‹
  • --no-dimmer β€” Disable dimmer tool. Your screen will simply refuse to fade away dramatically πŸ’…
  • --no-dpms β€” Disable dpms tool. No display power management shenanigans πŸ’€
  • --no-backlight β€” Disable backlight calibration tool. The core feature? Yeah you can just turn it off 😭
  • --no-screen β€” Disable screen emitted brightness correction tool. Screen brightness correction, canceled πŸ™ˆ
  • --no-kbd β€” Disable keyboard backlight calibration tool. The keyboard gets to stay however it wants, lucky thing ⌨️
  • --dimmer-pct double β€” Backlight level used while screen is dimmed, in pergentage. That's percentage, but with flavor β€” and yes, it's a double, so decimals are welcome πŸ“
  • --verbose β€” Enable verbose mode. It will tell you everything. Everything. Grab a snack 🍿
  • --no-auto-calib β€” Disable screen backlight automatic calibration. You want manual control? Respect, icon behavior πŸ‘‘
  • --shutter-thres double β€” Threshold to consider a capture as clogged. Like, if something's blocking the sensor, this is where it calls it out πŸ’€

🌸 FILES 🌸

  • /nix/store/aa921lyr99w6x6ijgrkrf4saz4g9wgsh-clight-4.11/etc/clight/clight.conf β€” The system wide configuration file. The big boss config, everyone shares it πŸ›οΈ
  • $HOME/.config/clight.conf β€” Per user configuration file. Your personal config, your personal vibes, just for you πŸŽ€

πŸ’œ AUTHOR πŸ’œ

Federico Di Pierro nierro92@gmail.com ⟨mailto:nierro92@gmail.com⟩ β€” thank him, he built the whole display-management situation we're all living in 🫢


That's the page, bestie! You were reading Clight(1) from the User Manuals collection on Linux β€” the manual-page equivalent of a group chat you're now fully caught up on πŸ’–βœ¨ See you in the next one, mwah πŸŽ€

πŸ“¦ where this page comes from