]> gitweb.fluxo.info Git - rhatto/dotfiles/openbox.git/commitdiff
Adds custom menu
authorSilvio Rhatto <rhatto@riseup.net>
Mon, 19 Nov 2018 19:27:46 +0000 (17:27 -0200)
committerSilvio Rhatto <rhatto@riseup.net>
Mon, 19 Nov 2018 19:27:46 +0000 (17:27 -0200)
config.dot/openbox/menu.xml.link [new file with mode: 0644]

diff --git a/config.dot/openbox/menu.xml.link b/config.dot/openbox/menu.xml.link
new file mode 100644 (file)
index 0000000..069c1fc
--- /dev/null
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<openbox_menu xmlns="http://openbox.org/"
+        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+        xsi:schemaLocation="http://openbox.org/
+                file:///usr/share/openbox/menu.xsd">
+
+<menu id="root-menu" label="Openbox 3">
+  <item label="Terminal emulator">
+    <action name="Execute"><execute>terminal</execute></action>
+  </item>
+  <item label="Tor Browser">
+    <action name="Execute"><execute>tor-browser</execute></action>
+  </item>
+  <!-- This requires the presence of the 'openbox-menu' package to work -->
+  <menu id="/Debian" />
+  <separator />
+  <menu id="applications-menu" label="Applications" execute="/usr/bin/obamenu"/>
+  <separator />
+  <item label="ObConf">
+    <action name="Execute"><execute>obconf</execute></action>
+  </item>
+  <item label="Reconfigure">
+    <action name="Reconfigure" />
+  </item>
+  <item label="Restart">
+    <action name="Restart" />
+  </item>
+  <separator />
+  <item label="Exit">
+    <action name="Exit" />
+  </item>
+  <item label="Poweroff">
+    <action name="Execute"><execute>sudo poweroff</execute></action>
+  </item>
+</menu>
+
+</openbox_menu>