Skip to content

[WIP] configurable dim rules over dbus#406

Open
dset0x wants to merge 2 commits intochjj:masterfrom
dset0x:unbright
Open

[WIP] configurable dim rules over dbus#406
dset0x wants to merge 2 commits intochjj:masterfrom
dset0x:unbright

Conversation

@dset0x
Copy link
Copy Markdown

@dset0x dset0x commented Jan 6, 2017

Greetings,

This patch adds on-the-fly configurable dim rules.

I wrote it because current solutions for dimming monitors below what hardware controls allow (such as redshift) make dark terminals unreadable.

In dbus-examples/ambient-dim.sh you will find an example of how I to use the new dbus interface. You may monitor its work with dbus-send --print-reply --dest=com.github.chjj.compton._0 / com.github.chjj.compton.opts_get string:dim-rule.

Please feel free to ask any questions or comment on any issue.

Note: Marked as WIP until I deal with a last objection valgrind has.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant