Browse Source

Add pekwm section in README

pull/3/head 0.5
George Vlahavas 11 years ago
parent
commit
3fc124a148
  1. 42
      README

42
README

@ -65,6 +65,48 @@ non existing icon, you essentially set it to use no icon. If you
actually have an icewm icon named "_none_", that one will be used actually have an icewm icon named "_none_", that one will be used
instead. instead.
=====
pekwm
=====
There are two ways to have an XDG menu in pekwm. The first one,
auto-updates the menu, every time the menu is called. The second one,
updates the menu only when the user wants to.
Dynamic Menus
-------------
Edit your ~/.pekwm/menu file with your favourite text editor and add
a like like the following one in the location that you want the
dynamically generated menu to appear:
Entry = "" { Actions = "Dynamic /usr/bin/xdgmenumaker -n -i -f pekwm --pekwm-dynamic" }
Restart pekwm and the generated menu should appear. The menu will be
automatically generated every time you access it, so it will always be
up to date. But since xdgmenumaker will run every time you access the
menu, the menu might not appear instantly, especially if you are using
an older PC.
Static Menus
------------
Run:
$ xdgmenumaker -n -i -f pekwm > ~/.pekwm/appsmenu
to create a file with the menu contents. Then edit your
~/.pekwm/menu file to include that menu, by adding a line like the
following, in the location that you want the menu to appear:
INCLUDE = "/home/your_user_name/.pekwm/appsmenu"
Restart pekwm and the generated menu should appear. The menu is static
and if you add/remove any applications, you will have to run the
xdgmenumaker command and restart pekwm all over again to update it. The
advantage is that there will be no delay in displaying the menu.
============ ============
Window Maker Window Maker
============ ============

Loading…
Cancel
Save