[modules] Add redshift module

New module that shows the current state of redshift
(day/night/transition) and, if in transition, also shows
the day/night percentages.

fixes #40
This commit is contained in:
Tobi-wan Kenobi 2017-01-21 11:23:29 +01:00
parent 87714f12ee
commit 188ee36780
4 changed files with 53 additions and 1 deletions

View file

@ -52,5 +52,8 @@
},
"xrandr": {
"on": { "prefix": " off "}, "off": { "prefix": " on "}
},
"redshift": {
"day": { "prefix": "day" }, "night": { "prefix": "night" }, "transition": { "prefix": "trans" }
}
}

View file

@ -63,6 +63,9 @@
"activated": {"prefix": " " }, "deactivated": { "prefix": " " }
},
"xrandr": {
"on": { "prefix": " "}, "off": { "prefix": " "}
"on": { "prefix": " "}, "off": { "prefix": " " }
},
"redshift": {
"day": { "prefix": "" }, "night": { "prefix": "" }, "transition": { "prefix": "" }
}
}