Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option to set background and text color on a module basis #320

Merged
merged 5 commits into from
Sep 27, 2018

Conversation

nicholas-eden
Copy link
Contributor

Resolves the feature request in issue #307 .

Each mod can use a colors namespace to set the background and text properties, as which will default to the global value if not set.

wtf:
  colors:
    text: "gray"
    border:
      focusable: darkslateblue
      focused: orange
      normal: gray
  grid:
    columns: [40, 40]
    rows: [13, 13, 4]
  refreshInterval: 1
  mods:
    clocks:
      colors:
        background: "darkred"
        rows:
          even: "lightblue"
          odd: "white"
      enabled: true
      ...
    security:
      colors:
        text: "yellow"
      enabled: true
      ...

selection_006
]

@senorprogrammer senorprogrammer merged commit 5571dd0 into wtfutil:master Sep 27, 2018
@senorprogrammer
Copy link
Collaborator

Thanks!

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

Successfully merging this pull request may close these issues.

2 participants