A practical shell script that uses swaybg (or any wallpaper tool) to turn a monitor into a key light for video calls and recordings. The script sets a solid color wallpaper on a specified monitor and toggles it on/off by tracking state in a file. Supports custom colors and per-output targeting, making it a lightweight alternative to dedicated lighting hardware for Linux desktop users.
Questions this post answers
How can I use my monitor as a key light on Linux for video calls?
Set a solid white (or any color) wallpaper on a monitor using a wallpaper tool like swaybg. A small shell script can wrap this: running it once sets the color and turns the light on, running it again with the same color turns it off by restoring the previous wallpaper. The script tracks state in a file and supports per-output targeting via --output and custom colors via --color. Linux developers solving webcam lighting on the cheap share setups like this on daily.dev.