项目作者: eriol

项目描述 :
Display custom icons on system tray
高级语言: Rust
项目地址: git://github.com/eriol/quoll.git
创建时间: 2019-05-05T23:39:45Z
项目社区:https://github.com/eriol/quoll

开源协议:GNU General Public License v3.0

下载


quoll

quoll is a generic indicator for the system tray that displays SVG and PNG
icons. It currently support only Linux.
It was inspired by AnyBar and basically it’s
a clone with small differences.

Screenshots

A screenshot of quoll

Installation

quoll depends on Ayatana Application Indicators libayatana-appindicator3-1
and gtk3 so in order to compile it you have to install them first.
On Debian (and derivatives):

  1. sudo apt install libayatana-appindicator3-dev libgtk-3-dev

Then simply do:

  1. cargo install quoll

Distribution of resources is not supported yet using cargo, so to get the base
icons (as the ones included in AnyBar, but in SVG format) just download them
and put in the directory where quoll will search for them:

  1. mkdir -p $(quoll home) && curl -sL https://github.com/eriol/quoll/releases/download/0.1.0/base_resources.tar.gz | tar xzf - -C $(quoll home)

Usage

quoll is controlled via UDP (default port is 1738). To start it use the serve
subcommand:

  1. quoll serve

To send a message to change the icon use the send subcommand, for example:

  1. quoll send green

The message is simply the icon name, without the extension.

To list the icons currently available, and so the corresponding messages that
we can send:

  1. ls $(quoll home)

SVG icons will always precede PNG ones, so having both my_icon.svg and
my_icon.png in quoll home directory, when we send quoll send my_icon the
SVG one will be displayed.

The special message quit makes quoll to terminate.

UDP port can be specified with the -p flag and works for both serve and
send subcommand:

  1. quoll -p 1234 serve
  1. quoll -p 1234 send red

For full usage instructions use:

  1. quoll help

License

quoll is licensed under GPL-3.