Module swaystatus::blocks::hueshift [−][src]
Expand description
Manage display temperature
This block displays the current color temperature in Kelvin. When scrolling upon the block the color temperature is changed.
A left click on the block sets the color temperature to click_temp that is by default to 6500K.
A right click completely resets the color temperature to its default value (6500K).
Configuration
| Key | Values | Required | Default |
|---|---|---|---|
step | The step color temperature is in/decreased in Kelvin. | No | 100 |
hue_shifter | Program used to control screen color. | No | Detect automatically. |
max_temp | Max color temperature in Kelvin. | No | 10000 |
min_temp | Min color temperature in Kelvin. | No | 1000 |
click_temp | Left click color temperature in Kelvin. | No | 6500 |
Available Hue Shifters
| Name | Supports |
|---|---|
"redshift" | X11 |
"sct" | X11 |
"gammastep" | X11 and Wayland |
Example
[[block]]
block = "hueshift"
hue_shifter = "redshift"
step = 50
click_temp = 3500A hard limit is set for the max_temp to 10000K and the same for the min_temp which is 1000K.
The step has a hard limit as well, defined to 500K to avoid too brutal changes.