summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorJon Gjengset <jon@thesquareplanet.com>2019-10-16 12:44:08 -0400
committerGitHub <noreply@github.com>2019-10-16 12:44:08 -0400
commiteecb095076a89f92dfdc203ec474ceac5d85d225 (patch)
tree335b6a58653ca6a438de6b35adcd3dd772fb00e1 /README.md
parentAdd examples directory (diff)
parentUpdate README.md (diff)
downloadmktrayicon-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.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index dc9bba8..db15ad8 100644
--- a/README.md
+++ b/README.md
@@ -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**
bgstack15