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

swaybar: I3bar json protocol #394

Merged
merged 6 commits into from
Dec 22, 2015
Merged

Conversation

progandy
Copy link
Contributor

This commit series implements three things:

  • Allow swaybar to understand the i3bar json protocol.
  • Format output with specified colors and separators.
  • Fall back to legacy single line text if the status_command doesn't ask for the json protocol.

int i;
int moved = 0;
bool corner = true;
for ( i = status_line->length - 1; i >= 0; --i ) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Style issue here

@onny onny mentioned this pull request Dec 22, 2015
@progandy
Copy link
Contributor Author

Request updated with fixed commits.

@progandy progandy force-pushed the i3bar-json-protocol branch from 1efd3b5 to 8fefdb3 Compare December 22, 2015 16:59
ddevault added a commit that referenced this pull request Dec 22, 2015
@ddevault ddevault merged commit 27848b4 into swaywm:master Dec 22, 2015
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