Skip to content
This repository was archived by the owner on Apr 1, 2026. It is now read-only.
Closed
Changes from 1 commit
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
5cfffbb
Add libelektra specification that corresponds to currently supported …
Jul 20, 2021
a460cf8
Remove deprecated configuration value "transition" from specification
Jul 20, 2021
8cc96b7
Revise naming and hierarchy
Jul 20, 2021
5e25918
Change to types that better match possible values
Jul 20, 2021
62897f3
Add metadata for required plugins
Jul 21, 2021
558c1e2
Add default values
Jul 21, 2021
6a9936c
Add "range" metadata
Jul 21, 2021
9dd2fcc
Replace regex for time values by check/date
Jul 21, 2021
5381b57
Add "require" metadata
Jul 21, 2021
b8cfdd1
Remove prefix "redshift/" from key names
Jul 21, 2021
b13b051
Revise TODOs
Jul 21, 2021
4963eba
Remove infos/plugins (see https://github.com/jonls/redshift/pull/829#…
Jul 22, 2021
c00dea1
Add explanation and links about specification files
Jul 22, 2021
a4ee0a9
Improve naming and hierarchy of keys
Jul 22, 2021
7f32a6b
Add missing example, default and require
Jul 22, 2021
0ad584c
Add link to documentation for adjustment method
Jul 22, 2021
d1b785d
Improve hierarchy of keys
Jul 22, 2021
5bab4e6
Merge duplicate values randr/crtc resp. drm/crtc and randr/screen res…
Jul 23, 2021
e50c21d
Improve descriptions of brightness/day and brightness/night
Jul 23, 2021
a18c2c6
Fix wrong type and check of gamma, gamma/night and gamma/day
Jul 23, 2021
3d9241c
Add note about environment variables
Jul 23, 2021
5a34613
Add CLI arguments to spec file
Jul 23, 2021
d345ea3
Add opt/arg = required
Jul 23, 2021
7bc88e1
Add newline at end of file.
Jul 29, 2021
bce2269
Remove obsolete comment, the parts of lcdprocs spec file have been re…
Jul 29, 2021
d88215c
Improve comments and configuration setting descriptions
Jul 29, 2021
918f66c
Add support for single value gamma values and improve descriptions an…
Aug 5, 2021
83f5b3a
Add default option "auto" for adjustment/method and provider/location…
Aug 5, 2021
64a188b
Fix type of enum keys
Aug 5, 2021
034b2cf
Add missing check/type for float keys
Aug 5, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add "require" metadata
  • Loading branch information
Tobias Schubert committed Jul 21, 2021
commit 5381b57317d1437b259bb650f20e86e7d55e3d91
5 changes: 4 additions & 1 deletion src/elektra/redshift.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
; TODO:
; 1. revise hierarchy, naming and types to make redshift config files easier to read and use and less error-prone. breaks backwards-compatibility.
; 2. after 1.: split up colon-separated options for location-providers and adjustment-methods into separate CLI arguments.
; 3. after 1. and 2.: add properties "required", "default", etc.
; 3. after 1. and 2.: add properties "require", "default", etc.
; 4. after 1. and 2.: add command line arguments to specification
; 5. after 1. and 2.: add enum values

Expand Down Expand Up @@ -82,14 +82,17 @@ check/enum/#3 = randr
check/enum/#4 = vidmode
check/enum/#5 = w32gdi
description = The method used to adjust screen color temperature.
Comment thread
qwepoizt marked this conversation as resolved.
Outdated
require =

[redshift/location-provider]
type = string
check/enum = #2
check/enum/#0 = corelocation
check/enum/#1 = geoclue2
check/enum/#2 = manual
require =
description = The location provider. Used to establish whether it is currently daytime or nighttime.
require =
Comment thread
qwepoizt marked this conversation as resolved.
Outdated

type = string
check/date = ISO8601
Expand Down