Skip to content

Instantly share code, notes, and snippets.

@yloiseau
Last active May 27, 2016 08:14
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yloiseau/05dfe52ad9d8324b7cbc4d76f46987a4 to your computer and use it in GitHub Desktop.
Save yloiseau/05dfe52ad9d8324b7cbc4d76f46987a4 to your computer and use it in GitHub Desktop.
Watson i3 status (via conky)

To display the current watson status in your i3 bar using conky:

  • in the conky configuration, add:
{"full_text": "${texeci 5 ~/.config/i3/watson-status}"}
  • in ~/.config/i3/watson-status:
#!/bin/bash
watson status |
sed -r '
    s!^Project !!g;
    s!([^ ]+).+started !\1 (!g;
    s! ago .*!)!g
    '
@yloiseau
Copy link
Author

See https://github.com/yloiseau/watson-utils for maintained version

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