]> git.mdlowis.com Git - proto/labwc.git/commitdiff
Add docs/menu.xml
authorJohan Malm <jgm323@gmail.com>
Wed, 17 Feb 2021 21:08:38 +0000 (21:08 +0000)
committerJohan Malm <jgm323@gmail.com>
Wed, 17 Feb 2021 21:08:38 +0000 (21:08 +0000)
README.md
docs/menu.xml [new file with mode: 0644]

index 5686627c1609255f20bfc75bf4d6a2ac48c71207..843042fcff9bda29ff4c0fb407ec10ff16e5f32d 100644 (file)
--- a/README.md
+++ b/README.md
@@ -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)
diff --git a/docs/menu.xml b/docs/menu.xml
new file mode 100644 (file)
index 0000000..0b79491
--- /dev/null
@@ -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>