mirror of
https://github.com/labwc/labwc.git
synced 2026-02-14 04:28:07 -05:00
rcxml: load default keybinds on <keyboard><default />
This is an addition to the openbox specification and provides a way to keep config files simpler whilst allowing user-specific keybinds. docs/rc.xml shows a simple config file with <default /> docs/rc.xml.full shows the full config
This commit is contained in:
parent
93244cfbe1
commit
b7573c8d36
5 changed files with 105 additions and 42 deletions
31
docs/rc.xml
31
docs/rc.xml
|
|
@ -8,35 +8,14 @@
|
|||
<theme>
|
||||
<name></name>
|
||||
<cornerRadius>8</cornerRadius>
|
||||
<font><name>Sans</name><size>12</size></font>
|
||||
<font><name>sans</name><size>10</size></font>
|
||||
</theme>
|
||||
|
||||
<focus>
|
||||
<followMouse>no</followMouse>
|
||||
<raiseOnFocus>no</raiseOnFocus>
|
||||
</focus>
|
||||
|
||||
<!--
|
||||
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
|
||||
-->
|
||||
|
||||
<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>
|
||||
|
||||
<keybind key="A-Left"><action name="MoveToEdge"><direction>left</direction></action></keybind>
|
||||
<keybind key="A-Right"><action name="MoveToEdge"><direction>right</direction></action></keybind>
|
||||
<keybind key="A-Up"><action name="MoveToEdge"><direction>up</direction></action></keybind>
|
||||
<keybind key="A-Down"><action name="MoveToEdge"><direction>down</direction></action></keybind>
|
||||
<default />
|
||||
<keybind key="A-Return">
|
||||
<action name="Execute"><command>sakura</command></action>
|
||||
</keybind>
|
||||
</keyboard>
|
||||
|
||||
</labwc_config>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue