- Support GHC 9.6.
MonadGamma
has been renamed toMonadPrepareValue
.MonadRecolor
has been renamed toMonadApplyValue
.- Move modules from
Blucontrol.Monad.Gamma
toBlucontrol.Monad.PrepareValue
. - Move modules from
Blucontrol.Monad.Recolor
toBlucontrol.Monad.ApplyValue
.
runControl
is now a regular monad runner, that also returns the monadic state.blucontrol
now returns the monadic state.- Changes to the control flow in
Blucontrol.Main.Control
improve how monadic state is handled.
- Allow building against new versions of X11.
RecolorXT
now usesRecolorXValue
, which is just a newtype of the oldRGB Float
.- Add
applyBrightnessToRGB
conversion function.
- Change module structure, now using
Blucontrol.Monad
andBlucontrol.Value
. - Move module
Blucontrol.Value.RGB.Brightness
toBlucontrol.Value.Brightness
. - Rename module
Blucontrol.CompatibleValues
toBlucontrol.Value
.
- Remove field
coerceValue
fromConfigControl
. - Add
CompatibleValues
class.
- Remove
RGB
class. - Remove
Chromaticity
. - Replace
Trichromaticity
byRGB
. - Add type families
GammaValue
andRecolorValue
toMonadGamma
andMonadRecolor
. - Add
coerceValue
toConfigControl
. RecolorXT
now usesRGB Float
instead ofTrichromaticity
.Temperature
is now explicitly convertible toRGB Word8
usingtoRGBWord8
.- Rename parametric field of
WithBrightness
record fromrgb
tocolor
.
- New module
Blucontrol.RGB.Brightness
. - Introduce strictness to improve performance.
- Allow
runGamma
to directly run in theIO
monad instead ofg
withMonadGamma c g
.
- New module
Blucontrol.Gamma.Modifier
. - New command line flag
-i
/--ignore-config
to stick to the default configuration.
- Support GHC 9.0.1.
- Add
RGB
class. - Remove
temperature
conversion function in favor oftoRGB
. GammaLinearT
now interpolates betweenTemperature
s instead ofTrichromaticity
s.
- Improve miscallenous documentation.
- Add
Setup.hs
.
- Compile user config only when it has been modified.
- New internal module
Blucontrol.Main.GHC.Internal
for setting ghc flags.
- Rename the whole application from bludigon to blucontrol.
runGamma
runs directly inIO
now.- New module
Bludigon.Control.Concat
. - New module
Bludigon.Control.Count
.
- Add header file to c-sources.
- First version. Released on an unsuspecting world.