]> git.mdlowis.com Git - proto/labwc.git/commitdiff
docs/rc.xml: comply with new syntax
authorJohan Malm <jgm323@gmail.com>
Fri, 16 Jul 2021 17:18:09 +0000 (18:18 +0100)
committerJohan Malm <jgm323@gmail.com>
Fri, 16 Jul 2021 17:18:09 +0000 (18:18 +0100)
docs/rc.xml

index 4b8834e1d2ddc863a35bd8af868d3fb2bafd76f8..1202058099835254cfc5b69f2f41d09d2989841d 100644 (file)
@@ -1,39 +1,37 @@
-<?xml version="1.0" encoding="UTF-8"?>
+<?xml version="1.0"?>
+<labwc_config>
 
-<!-- Use <openbox_config> as root element for openbox compatibility -->
-<openbox_config>
+  <core>
+    <decoration>server</decoration>
+  </core>
 
-<!-- labwc specific settings - additional to openbox -->
-<lab>
-  <!-- Use server-side decorations for xdg-shell views if CSD can be disabled -->
-  <xdg_shell_server_side_deco>yes</xdg_shell_server_side_deco>
-</lab>
+  <theme>
+    <name></name>
+    <cornerRadius>8</cornerRadius>
+    <font place="ActiveWindow"><name>Sans</name><size>10</size></font>
+  </theme>
 
-<focus>
-  <followMouse>no</followMouse>
-  <raiseOnFocus>no</raiseOnFocus>
-</focus>
+  <focus>
+    <followMouse>no</followMouse>
+    <raiseOnFocus>no</raiseOnFocus>
+  </focus>
 
-<theme>
-  <name>Clearlooks-3.4</name>
-  <!-- This font size also determintes the height of the window title bar -->
-  <font place="ActiveWindow">
-    <name>Sans</name>
-    <size>10</size>
-  </font>
-</theme>
+  <!--
+    Keybind actions are specified in more detail in labwc-actions(5)
+    The following keybind modifiers are supported:
+      W - window/super/logo
+      A - alt
+      C - ctrl
+      S - shift
+  -->
 
-<!-- see labwc-actions(5) for a list of supported actions -->
-<keyboard>
-  <keybind key="A-Escape">
-    <action name="Exit"/>
-  </keybind>
-  <keybind key="A-Tab">
-    <action name="NextWindow"/>
-  </keybind>
-  <keybind key="A-F3">
-    <action name="Execute"><command>bemenu-run</command></action>
-  </keybind>
-</keyboard>
+  <keyboard>
+    <keybind key="A-Escape"><action name="Exit" /></keybind>
+    <keybind key="A-Tab"><action name="NextWindow" /></keybind>
+    <keybind key="A-Return"><action name="Execute"><command>sakura</command></action></keybind>
+    <keybind key="A-F3"><action name="Execute"><command>bemenu-run</command></action></keybind>
+    <keybind key="A-F4"><action name="Close" /></keybind>
+    <keybind key="W-a"><action name="ToggleMaximize" /></keybind>
+  </keyboard>
 
-</openbox_config>
+</labwc_config>