Toolbar
is designed to be run as the controlling application under
an instance of
wm(1).
It runs an initialisation shell script,
provides a menu allowing the user to start new programs.
and shows icons representing windows that have been hidden.
When
toolbar
is started, it configures itself by means of the
/lib/wmsetup
shell script.
Toolbar
loads the shell
sh(1),
and defines the following
shell built-in
commands before executing the script:
- menu
title1
[title2]
command
- Insert an item at the top of the start menu.
Title1
is the text of the item on the main menu.
If
title2
is given then
title1
is a sub-menu with
title2
as the menu item.
Command
is executed by the shell whenever the item is selected.
An item with an empty command is displayed as a separator.
- delmenu
- Forget all menu items.
The standard
/lib/wmsetup
script executes the script
/usr/username/lib/wmsetup,
enabling each user to have their own window manager configuration.