2021-08-22 19:09:31 +01:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
|
|
2021-10-19 21:52:26 +01:00
|
|
|
<!--
|
|
|
|
|
This file contains all supported config elements & attributes with
|
|
|
|
|
default values.
|
|
|
|
|
-->
|
2021-08-22 19:09:31 +01:00
|
|
|
|
|
|
|
|
<labwc_config>
|
|
|
|
|
|
|
|
|
|
<core>
|
|
|
|
|
<decoration>server</decoration>
|
2021-10-19 21:51:28 +01:00
|
|
|
<gap>0</gap>
|
2021-08-22 19:09:31 +01:00
|
|
|
</core>
|
|
|
|
|
|
2021-10-19 21:52:26 +01:00
|
|
|
<!--
|
|
|
|
|
<font><theme> can be defined without an attribute to set all places
|
|
|
|
|
-->
|
2021-08-22 19:09:31 +01:00
|
|
|
<theme>
|
|
|
|
|
<name></name>
|
|
|
|
|
<cornerRadius>8</cornerRadius>
|
|
|
|
|
<font place="ActiveWindow"><name>sans</name><size>10</size></font>
|
|
|
|
|
<font place="MenuItem"><name>sans</name><size>10</size></font>
|
|
|
|
|
</theme>
|
|
|
|
|
|
|
|
|
|
<focus>
|
|
|
|
|
<followMouse>no</followMouse>
|
|
|
|
|
<raiseOnFocus>no</raiseOnFocus>
|
|
|
|
|
</focus>
|
|
|
|
|
|
|
|
|
|
<!--
|
2021-10-19 21:52:26 +01:00
|
|
|
Keybind actions are specified in labwc-actions(5)
|
2021-08-22 19:09:31 +01:00
|
|
|
The following keybind modifiers are supported:
|
|
|
|
|
W - window/super/logo
|
|
|
|
|
A - alt
|
|
|
|
|
C - ctrl
|
|
|
|
|
S - shift
|
|
|
|
|
|
2021-10-19 21:52:26 +01:00
|
|
|
Use <keyboard><default /> to load all the default keybinds (those listed
|
|
|
|
|
below). If the default keybinds are largely what you want, a sensible
|
|
|
|
|
approach could be to start the <keyboard> section with a <default />
|
|
|
|
|
element, and then (re-)define any special binds you need such as launching
|
|
|
|
|
your favourite terminal or application launcher.
|
|
|
|
|
-->
|
2021-08-22 19:09:31 +01:00
|
|
|
<keyboard>
|
|
|
|
|
<keybind key="A-Escape">
|
|
|
|
|
<action name="Exit" />
|
|
|
|
|
</keybind>
|
|
|
|
|
<keybind key="A-Tab">
|
|
|
|
|
<action name="NextWindow" />
|
|
|
|
|
</keybind>
|
2021-09-09 23:42:23 +06:00
|
|
|
<keybind key="W-Return">
|
2021-08-22 19:09:31 +01:00
|
|
|
<action name="Execute"><command>alacritty</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>
|
2021-10-17 21:31:44 +01:00
|
|
|
<keybind key="W-Left">
|
|
|
|
|
<action name="SnapToEdge"><direction>left</direction></action>
|
|
|
|
|
</keybind>
|
|
|
|
|
<keybind key="W-Right">
|
|
|
|
|
<action name="SnapToEdge"><direction>right</direction></action>
|
|
|
|
|
</keybind>
|
|
|
|
|
<keybind key="W-Up">
|
|
|
|
|
<action name="SnapToEdge"><direction>up</direction></action>
|
|
|
|
|
</keybind>
|
|
|
|
|
<keybind key="W-Down">
|
|
|
|
|
<action name="SnapToEdge"><direction>down</direction></action>
|
|
|
|
|
</keybind>
|
2021-10-14 19:37:57 +01:00
|
|
|
<keybind key="XF86_AudioLowerVolume">
|
|
|
|
|
<action name="Execute"><command>amixer sset Master 5%-</command></action>
|
|
|
|
|
</keybind>
|
|
|
|
|
<keybind key="XF86_AudioRaiseVolume">
|
|
|
|
|
<action name="Execute"><command>amixer sset Master 5%+</command></action>
|
|
|
|
|
</keybind>
|
|
|
|
|
<keybind key="XF86_AudioMute">
|
|
|
|
|
<action name="Execute"><command>amixer sset Master toggle</command></action>
|
|
|
|
|
</keybind>
|
|
|
|
|
<keybind key="XF86_MonBrightnessUp">
|
|
|
|
|
<action name="Execute"><command>brightnessctl set +10%</command></action>
|
|
|
|
|
</keybind>
|
|
|
|
|
<keybind key="XF86_MonBrightnessDown">
|
|
|
|
|
<action name="Execute"><command>brightnessctl set 10%-</command></action>
|
|
|
|
|
</keybind>
|
2021-08-22 19:09:31 +01:00
|
|
|
</keyboard>
|
|
|
|
|
|
2021-10-19 21:52:26 +01:00
|
|
|
<!--
|
|
|
|
|
<mousebind> buttons/actions have not yet been implemented except for the
|
|
|
|
|
one below.
|
|
|
|
|
-->
|
2021-08-29 17:10:21 -04:00
|
|
|
<mouse>
|
2021-08-29 18:31:57 -04:00
|
|
|
<!-- time is in ms -->
|
2021-09-06 22:09:59 +01:00
|
|
|
<doubleClickTime>500</doubleClickTime>
|
2021-08-29 17:10:21 -04:00
|
|
|
<context name="TitleBar">
|
|
|
|
|
<mousebind button="Left" action="DoubleClick">
|
|
|
|
|
<action name="ToggleMaximize"/>
|
|
|
|
|
</mousebind>
|
|
|
|
|
</context>
|
|
|
|
|
</mouse>
|
|
|
|
|
|
2021-10-19 21:48:49 +01:00
|
|
|
<!--
|
|
|
|
|
The *category* element can be set to touch, non-touch, default or the name
|
|
|
|
|
of a device. You can obtain device names by running *libinput list-devices*
|
|
|
|
|
as root or member of the input group.
|
|
|
|
|
|
|
|
|
|
Tap is set to *yes* be default. All others are left blank in order to use
|
|
|
|
|
device defaults.
|
|
|
|
|
|
|
|
|
|
All values are [yes|no] except for:
|
|
|
|
|
- pointerSpeed [-1.0 to 1.0]
|
|
|
|
|
- accelProfile [flat|adaptive]
|
|
|
|
|
-->
|
|
|
|
|
<libinput>
|
|
|
|
|
<device category="">
|
|
|
|
|
<naturalScroll></naturalScroll>
|
|
|
|
|
<leftHanded></leftHanded>
|
|
|
|
|
<pointerSpeed></pointerSpeed>
|
|
|
|
|
<accelProfile></accelProfile>
|
|
|
|
|
<tap>yes</tap>
|
|
|
|
|
<middleEmulation></middleEmulation>
|
|
|
|
|
<disableWhileTyping></disableWhileTyping>
|
|
|
|
|
</device>
|
|
|
|
|
</libinput>
|
|
|
|
|
|
2021-08-22 19:09:31 +01:00
|
|
|
</labwc_config>
|