Add docs/menu.xml

This commit is contained in:
Johan Malm 2021-02-17 21:08:38 +00:00
parent 011f20ef6b
commit e4deb03173
2 changed files with 18 additions and 3 deletions

View file

@ -49,9 +49,11 @@ For further details see [wiki/Build](https://github.com/johanmalm/labwc/wiki/Bui
## 3. Configure
If you want to override the defaults, copy data/rc.xml to ~/.config/labwc/ and tweak to suit.
If you want to override the defaults, create the following files:
See [rc.xml](docs/rc.xml) and [themerc](docs/themerc) comments for details including keybinds.
- ~/.config/labwc/[rc.xml](docs/rc.xml)
- ~/.config/labwc/[menu.xml](docs/menu.xml)
- ~/.local/share/themes/<theme-name>/openbox-3/[themerc](docs/themerc)
See full details in the following:
@ -87,7 +89,7 @@ Suggested apps to use with labwc:
## 6. Roadmap
No acceptance criteria exists, but the following list indicates the inteded high level roadmap:
The following list indicates the intended high level roadmap:
- [x] Optionally support xwayland
- [x] Parse openbox config files (rc.xml, autostart, environment)

13
docs/menu.xml Normal file
View file

@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<openbox_menu>
<menu id="root-menu">
<item label="Web browser"><action name="Execute"><command>firefox</command></action></item>
<item label="Terminal"><action name="Execute"><command>alacritty</command></action></item>
<item label="Reconfigure"><action name="Reconfigure"></action></item>
<item label="Exit"><action name="Exit"></action></item>
<item label="Poweroff"><action name="Execute"><command>systemctl -i poweroff</command></action></item>
</menu>
</openbox_menu>