xsct(1)

πŸ“¦
version 2.3 Β· 3 versions
, in alpine 3.24, debian trixie, nixos 26.05, nixpkgs unstable, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– xsct β€” X11 set screen color temperature πŸ’–

okay bestie, gather round, because this little cutie (xsct, from the xsct(1) manual) is about to fix your eyeballs at 2am πŸŒ™βœ¨ it literally just sets your screen's color temperature, that's the whole vibe, and it does it flawlessly.


✨ SYNOPSIS ✨

xsct [options] [temperature] [brightness]

that's it. that's the whole girl. options, temp, brightness, slay πŸ’…


πŸ¦‹ DESCRIPTION πŸ¦‹

xsct sets the screen's color temperature. periodt. that's the job, she does it, she ate πŸ’–


πŸŽ€ OPTIONS πŸŽ€

  • -h, --help β€” shows you the usage info and then dips. bye πŸ‘‹
  • -v, --verbose β€” spills the debugging tea, so you can see exactly what's going on πŸ”
  • -d, --delta β€” shifts the temperature and brightness by the temperature and brightness values you passed, instead of just straight up setting them. nudge nudge ✨
  • -s, --screen N β€” zero-based index of the screen to use. yes bestie, zero-based, so the first one is 0, not 1, don't come for me πŸ™ˆ
  • -t, --toggle β€” flips between night temperature and day temperature. main character energy switching outfits πŸŒ—
  • -c, --crtc N β€” zero-based index of the CRTC to use. (also zero-based, same rules apply, we stay consistent πŸ’…)

🌸 ARGUMENTS 🌸

  • [temperature] β€” the black body temperature.
    • if the value is 0, xsct sets the color temperature to the default of 6500 β€” so 0 is lowkey just "give me the default pls" 🫢
    • if no arguments are passed at all, xsct estimates the current display temperature and brightness. she's perceptive like that, she reads the room πŸ‘‘
  • [brightness] β€” linear brightness between 0.0 (inclusive) and 1.0 (inclusive). and if you don't pass a parameter, the default value is 1.0 β€” full brightness, no notes ⭐
heads up bestie: both ends of that brightness range are inclusive, so 0.0 and 1.0 are both fair game. no guessing outside that, okay? πŸ’€

πŸ‘‘ AUTHOR πŸ‘‘

xsct is based on sct by Ted Unangst <tedu@openbsd.org> β€” shoutout to the originator, we love a legacy πŸŒˆπŸ’œ


πŸ’œ SEE ALSO πŸ’œ

go read those too, they're the extended universe, iykyk 🧚


okay and literally the final thing β€” this whole page is xsct 2.3, dated Jun 2024, and that's the version of the manual itself, not just the vibe. so if you're reading this, you're on the 2.3-era glow-up ✨ mwah, go fix your screen temp, bestie, your retinas will thank you πŸŽ€πŸ’–