diff options
author | B Stack <bgstack15@gmail.com> | 2020-02-13 09:38:40 -0500 |
---|---|---|
committer | B Stack <bgstack15@gmail.com> | 2020-02-13 09:38:40 -0500 |
commit | cea23e87e971f2a8494e2bef0a416d1e41d95e0c (patch) | |
tree | ac765bb5f39dbb388bc45030520e42898788ded4 /examples/menu.sh | |
parent | add middleclick, and documentation (diff) | |
download | mktrayicon-cea23e87e971f2a8494e2bef0a416d1e41d95e0c.tar.gz mktrayicon-cea23e87e971f2a8494e2bef0a416d1e41d95e0c.tar.bz2 mktrayicon-cea23e87e971f2a8494e2bef0a416d1e41d95e0c.zip |
merge scrollevents and menu_separator for new master
Diffstat (limited to 'examples/menu.sh')
-rw-r--r-- | examples/menu.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/examples/menu.sh b/examples/menu.sh new file mode 100644 index 0000000..2ceb302 --- /dev/null +++ b/examples/menu.sh @@ -0,0 +1,8 @@ +#!/bin/bash + +# Set up tray icon +mkfifo /tmp/$$.icon +./mktrayicon /tmp/$$.icon & + +# set menu with a separator and a quit option +echo "m terminal,xterm|-----,true|quit,echo 'q' > /tmp/$$.icon" > /tmp/$$.icon |