diff options
author | Jon Gjengset <jon@thesquareplanet.com> | 2019-10-16 12:44:08 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-16 12:44:08 -0400 |
commit | eecb095076a89f92dfdc203ec474ceac5d85d225 (patch) | |
tree | 335b6a58653ca6a438de6b35adcd3dd772fb00e1 /README.md | |
parent | Add examples directory (diff) | |
parent | Update README.md (diff) | |
download | mktrayicon-eecb095076a89f92dfdc203ec474ceac5d85d225.tar.gz mktrayicon-eecb095076a89f92dfdc203ec474ceac5d85d225.tar.bz2 mktrayicon-eecb095076a89f92dfdc203ec474ceac5d85d225.zip |
Merge pull request #3 from bdantas/handle-custom-icons
add handling for custom icons
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -13,7 +13,7 @@ command. Each command should be terminated by a newline. The following commands are supported: - `q`: Terminate `mktrayicon` and remove the tray icon - - `i <icon>`: Set the graphic to use for the tray icon (see `/usr/share/icons`) + - `i <icon>`: Set the graphic to use for the tray icon; it can be a stock icon name (see `/usr/share/icons`) or path to a custom icon - `t <text>`: Set the text to display in the icon tooltip - `t`: Remove the icon tooltip - `c <cmnd>`: Set the command to be execute when the user clicks the icon (`cmnd` is passed to `/bin/sh -c`) @@ -22,7 +22,7 @@ are supported: - `s`: Show the tray icon By default, the `none` tooltip icon is used. To change this, pass `-i -<icon_name>` when running `mktrayicon`. +<stock_icon_name>` or `-i <path_to_custom_icon>` when running `mktrayicon`. Note that any script communicating with `mktrayicon` **must**, for the time being, send `q` when they are done. Just removing the FIFO file will **not** |