Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/limpbrains/somebar

Simple taskbar widget that displays color dot or custom icon
https://github.com/limpbrains/somebar

anybar python ubuntu unity

Last synced: 2 months ago
JSON representation

Simple taskbar widget that displays color dot or custom icon

Awesome Lists containing this project

README

        

# SomeBar

Simple taskbar indicator for Unity inspired by [AnyBar](https://github.com/tonsky/AnyBar) (basically it is a clone of AnyBar)

Tested on Ubuntu 20.20

## Install

```sh
pip3 install somebar
```

## Usage

to run somebar just execute in console
```sh
somebar
```

somebar is controlled via UDP port (1738 by default). Send it a message and it will change a color:

```sh
echo -n "black" | nc -4u -w0 localhost 1738
```

Following commands change color:

`white`
`red`
`orange`
`yellow`
`green`
`cyan`
`blue`
`purple`
`black`
`question`
`exclamation`

And one special command forces somebar to quit: `quit`

## Running multiple instances

You can run several instances of somebar as long as they listen on different ports. Use `-p` or `--port` command line argument to change port:

```sh
somebar -p 1738
somebar -p 1739
somebar -p 1740
```

## Custom images

somebar can use user-local images if you put them under `~/.somebar` or `~/.AnyBar`. E.g. if you have `~/.AnyBar/[email protected]` present, send `square` to 1738 and it will be displayed.