bdfb946267
Night Color adjusts the color temperature based on the current time in your location. It's not a generic color correction module per se. We need a central component that can be used by both night color and colord integration to tweak gamma ramps and which will be able to resolve conflicts between the two. The Night Color manager cannot be such a thing because of its very specific usecase. This change converts Night Color into a plugin to prepare some space for such a component. The tricky part is that the dbus api of Night Color has "ColorCorrect" in its name. I'm afraid we cannot do that much about it without breaking API compatibility.
57 lines
2 KiB
XML
57 lines
2 KiB
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<kcfg xmlns="http://www.kde.org/standards/kcfg/1.0"
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xsi:schemaLocation="http://www.kde.org/standards/kcfg/1.0
|
|
http://www.kde.org/standards/kcfg/1.0/kcfg.xsd" >
|
|
<kcfgfile arg="true" />
|
|
<group name="NightColor">
|
|
<entry name="ActiveEnabled" type="Bool">
|
|
<default>true</default>
|
|
</entry>
|
|
<entry name="Active" type="Bool">
|
|
<default>false</default>
|
|
</entry>
|
|
<entry name="ModeEnabled" type="Bool">
|
|
<default>true</default>
|
|
</entry>
|
|
<entry name="Mode" type="Enum">
|
|
<choices name="KWin::NightColorMode">
|
|
<choice name="Automatic"/>
|
|
<choice name="Location"/>
|
|
<choice name="Times"/>
|
|
<choice name="Constant"/>
|
|
</choices>
|
|
<default>NightColorMode::Automatic</default>
|
|
</entry>
|
|
<entry name="NightTemperatureEnabled" type="Bool">
|
|
<default>true</default>
|
|
</entry>
|
|
<entry name="NightTemperature" type="Int">
|
|
<default>4500</default>
|
|
</entry>
|
|
<entry name="LatitudeAuto" type="Double">
|
|
<default>0.</default>
|
|
</entry>
|
|
<entry name="LongitudeAuto" type="Double">
|
|
<default>0.</default>
|
|
</entry>
|
|
<entry name="LocationEnabled" type="Bool">
|
|
<default>true</default>
|
|
</entry>
|
|
<entry name="LatitudeFixed" type="Double">
|
|
<default>0.</default>
|
|
</entry>
|
|
<entry name="LongitudeFixed" type="Double">
|
|
<default>0.</default>
|
|
</entry>
|
|
<entry name="MorningBeginFixed" type="String">
|
|
<default>"0600"</default>
|
|
</entry>
|
|
<entry name="EveningBeginFixed" type="String">
|
|
<default>"1800"</default>
|
|
</entry>
|
|
<entry name="TransitionTime" type="Int">
|
|
<default>30</default>
|
|
</entry>
|
|
</group>
|
|
</kcfg>
|