meta-opi-diya/recipes-wlroots/labwc/files/rc.xml
2024-03-08 10:41:41 +01:00

72 lines
1.6 KiB
XML

<?xml version="1.0"?>
<!--
This is a very simple config file with many options missing. For a complete
set of options with comments, see docs/rc.xml.all
-->
<labwc_config>
<core>
<gap>10</gap>
</core>
<theme>
<name>Adwaita</name>
<cornerRadius>0</cornerRadius>
<font name="sans" size="12" />
</theme>
<keyboard>
<default />
<keybind key="W-F">
<action name="ToggleFullscreen" />
</keybind>
<keybind key="W-L">
<action name="NextWindow" />
</keybind>
<keybind key="W-M">
<action name="ShowMenu">
<menu>root-menu</menu>
</action>
</keybind>
<keybind key="A-Space">
<action name="ShowMenu">
<menu>root-menu</menu>
</action>
</keybind>
<!-- Use a different terminal emulator -->
<keybind key="W-Return">
<action name="Execute" command="foot" />
</keybind>
<keybind key="W-Space">
<action name="Execute">
<command>bash -c "bash -c \"`drun`\""</command>
</action>
</keybind>
<!--
Remove a previously defined keybind
A shorter alternative is <keybind key="W-F4" />
-->
<keybind key="W-F4">
<action name="None" />
</keybind>
</keyboard>
<mouse>
<default />
<!-- Show a custom menu on desktop right click -->
<context name="Root">
<mousebind button="Right" action="Press">
<action name="ShowMenu" menu="some-custom-menu" />
</mousebind>
</context>
</mouse>
<windowRules>
<windowRule identifier="*">
<action name="Maximize"/>
</windowRule>
</windowRules>
</labwc_config>