DEV Community

loading...
Cover image for Yet Another i3status replacement written in Go

Yet Another i3status replacement written in Go

burik666 profile image Andrey Burov ・1 min read

YaGoStatus

Features

  • Instant and independent updating of widgets.
  • Handling click events.
  • Shell scripting widgets and events handlers.
  • Wrapping other status programs (i3status, py3status, conky, etc.).
  • Different widgets on different workspaces.
  • Snippets.
  • Templates for widgets outputs.
  • Update widget via http/websocket requests.
  • Update widget by POSIX Real-Time Signals (SIGRTMIN-SIGRTMAX).

Configuration

Yagostatus uses a configuration file in the yaml format.

Example:

widgets:
  - widget: static
    blocks: >
        [
            {
                "full_text": "YaGoStatus",
                "color": "#2e9ef4"
            }
        ]
    events:
      - button: 1
        command: xdg-open https://github.com/burik666/yagostatus/

  - widget: wrapper
    command: /usr/bin/i3status

  - widget: clock
    format: Jan _2 Mon 15:04:05 # https://golang.org/pkg/time/#Time.Format
    templates: >
        [{
            "color": "#ffffff",
            "separator": true,
            "separator_block_width": 21
        }]

https://github.com/burik666/yagostatus

License

YaGoStatus is licensed under the GNU GPLv3 License.

Discussion

pic
Editor guide