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-10-22 20:23:09 +01:00
|
|
|
<adaptiveSync>no</adaptiveSync>
|
2022-01-20 11:38:23 -08:00
|
|
|
<cycleViewPreview>no</cycleViewPreview>
|
2022-08-24 20:27:08 +02:00
|
|
|
<cycleViewOutlines>yes</cycleViewOutlines>
|
2021-08-22 19:09:31 +01:00
|
|
|
</core>
|
|
|
|
|
|
2022-05-31 22:01: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>
|
2021-12-06 17:44:28 -05:00
|
|
|
<font place="OSD"><name>sans</name><size>10</size></font>
|
2021-08-22 19:09:31 +01:00
|
|
|
</theme>
|
|
|
|
|
|
2022-05-31 21:57:00 +01:00
|
|
|
<!-- edge strength is in pixels -->
|
|
|
|
|
<resistance>
|
|
|
|
|
<screenEdgeStrength>20</screenEdgeStrength>
|
|
|
|
|
</resistance>
|
|
|
|
|
|
2021-08-22 19:09:31 +01:00
|
|
|
<focus>
|
|
|
|
|
<followMouse>no</followMouse>
|
|
|
|
|
<raiseOnFocus>no</raiseOnFocus>
|
|
|
|
|
</focus>
|
|
|
|
|
|
2022-05-31 22:01:26 +01:00
|
|
|
<!-- Set range to 0 to disable window snapping completely -->
|
2022-01-08 11:25:18 +01:00
|
|
|
<snapping>
|
|
|
|
|
<range>1</range>
|
|
|
|
|
<topMaximize>yes</topMaximize>
|
|
|
|
|
</snapping>
|
|
|
|
|
|
2022-06-15 02:07:22 +02:00
|
|
|
<!--
|
|
|
|
|
Use GoToDesktop left | right to switch workspaces.
|
|
|
|
|
Use SendToDesktop left | right to move windows.
|
|
|
|
|
See man labwc-actions for futher information.
|
|
|
|
|
|
|
|
|
|
Workspaces can be configured like this:
|
|
|
|
|
<desktops>
|
|
|
|
|
<popupTime>1000</popupTime>
|
|
|
|
|
<names>
|
|
|
|
|
<name>Workspace 1</name>
|
|
|
|
|
<name>Workspace 2</name>
|
|
|
|
|
<name>Workspace 3</name>
|
|
|
|
|
</names>
|
|
|
|
|
</desktops>
|
|
|
|
|
-->
|
|
|
|
|
<desktops>
|
|
|
|
|
<!--
|
|
|
|
|
popupTime defaults to 1000 so could be left out.
|
|
|
|
|
Set to 0 to completely disable the workspace OSD.
|
|
|
|
|
-->
|
|
|
|
|
<popupTime>1000</popupTime>
|
|
|
|
|
<names>
|
|
|
|
|
<name>Default</name>
|
|
|
|
|
</names>
|
|
|
|
|
</desktops>
|
|
|
|
|
|
2021-08-22 19:09:31 +01:00
|
|
|
<!--
|
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>
|
2021-10-21 20:38:52 +01:00
|
|
|
<repeatRate>25</repeatRate>
|
|
|
|
|
<repeatDelay>600</repeatDelay>
|
2021-08-22 19:09:31 +01:00
|
|
|
<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>
|
2022-01-26 00:07:10 +01:00
|
|
|
<keybind key="A-Space">
|
|
|
|
|
<action name="ShowMenu"><menu>client-menu</menu></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
|
|
|
<!--
|
2021-12-29 14:20:00 +00:00
|
|
|
Multiple <mousebind> can exist within one <context>
|
|
|
|
|
Multiple <actions> can exist within one <mousebind>
|
2022-01-06 18:30:17 -05:00
|
|
|
Currently, the only openbox-action not supported is "Unshade"
|
2021-10-19 21:52:26 +01:00
|
|
|
-->
|
2021-08-29 17:10:21 -04:00
|
|
|
<mouse>
|
2021-10-21 20:38:52 +01:00
|
|
|
|
2021-08-29 18:31:57 -04:00
|
|
|
<!-- time is in ms -->
|
2021-09-06 22:09:59 +01:00
|
|
|
<doubleClickTime>500</doubleClickTime>
|
2021-10-21 20:38:52 +01:00
|
|
|
|
2021-12-03 21:56:21 +00:00
|
|
|
<context name="Frame">
|
2022-01-07 16:13:36 -05:00
|
|
|
<mousebind button="A-Left" action="Press">
|
2021-12-03 21:56:21 +00:00
|
|
|
<action name="Focus"/>
|
|
|
|
|
<action name="Raise"/>
|
2022-01-07 16:13:36 -05:00
|
|
|
</mousebind>
|
|
|
|
|
<mousebind button="A-Left" action="Drag">
|
2021-12-03 21:56:21 +00:00
|
|
|
<action name="Move"/>
|
|
|
|
|
</mousebind>
|
2022-01-07 16:13:36 -05:00
|
|
|
<mousebind button="A-Right" action="Press">
|
2021-12-03 21:56:21 +00:00
|
|
|
<action name="Focus"/>
|
|
|
|
|
<action name="Raise"/>
|
2022-01-07 16:13:36 -05:00
|
|
|
</mousebind>
|
|
|
|
|
<mousebind button="A-Right" action="Drag">
|
2021-12-03 21:56:21 +00:00
|
|
|
<action name="Resize"/>
|
|
|
|
|
</mousebind>
|
|
|
|
|
</context>
|
2021-12-03 22:14:37 +00:00
|
|
|
|
2021-12-11 22:57:22 +00:00
|
|
|
<context name="Top">
|
2022-01-06 18:30:17 -05:00
|
|
|
<mousebind button="Left" action="Drag">
|
2021-12-11 22:57:22 +00:00
|
|
|
<action name="Resize"/>
|
|
|
|
|
</mousebind>
|
|
|
|
|
</context>
|
|
|
|
|
<context name="Left">
|
2022-01-06 18:30:17 -05:00
|
|
|
<mousebind button="Left" action="Drag">
|
2021-12-11 22:57:22 +00:00
|
|
|
<action name="Resize"/>
|
|
|
|
|
</mousebind>
|
|
|
|
|
</context>
|
|
|
|
|
<context name="Right">
|
2022-01-06 18:30:17 -05:00
|
|
|
<mousebind button="Left" action="Drag">
|
2021-12-11 22:57:22 +00:00
|
|
|
<action name="Resize"/>
|
|
|
|
|
</mousebind>
|
|
|
|
|
</context>
|
|
|
|
|
<context name="Bottom">
|
2022-01-06 18:30:17 -05:00
|
|
|
<mousebind button="Left" action="Drag">
|
2021-12-11 22:57:22 +00:00
|
|
|
<action name="Resize"/>
|
|
|
|
|
</mousebind>
|
|
|
|
|
</context>
|
|
|
|
|
<context name="TRCorner">
|
2022-01-06 18:30:17 -05:00
|
|
|
<mousebind button="Left" action="Drag">
|
2021-12-11 22:57:22 +00:00
|
|
|
<action name="Resize"/>
|
|
|
|
|
</mousebind>
|
|
|
|
|
</context>
|
|
|
|
|
<context name="BRCorner">
|
2022-01-06 18:30:17 -05:00
|
|
|
<mousebind button="Left" action="Drag">
|
2021-12-11 22:57:22 +00:00
|
|
|
<action name="Resize"/>
|
|
|
|
|
</mousebind>
|
|
|
|
|
</context>
|
|
|
|
|
<context name="TLCorner">
|
2022-01-06 18:30:17 -05:00
|
|
|
<mousebind button="Left" action="Drag">
|
2021-12-11 22:57:22 +00:00
|
|
|
<action name="Resize"/>
|
|
|
|
|
</mousebind>
|
|
|
|
|
</context>
|
|
|
|
|
<context name="BLCorner">
|
2022-01-06 18:30:17 -05:00
|
|
|
<mousebind button="Left" action="Drag">
|
2021-12-11 22:57:22 +00:00
|
|
|
<action name="Resize"/>
|
|
|
|
|
</mousebind>
|
|
|
|
|
</context>
|
|
|
|
|
|
2021-11-26 18:30:30 +00:00
|
|
|
<context name="TitleBar">
|
2022-01-07 16:13:36 -05:00
|
|
|
<mousebind button="Left" action="Press">
|
2021-12-23 05:58:28 +01:00
|
|
|
<action name="Focus"/>
|
|
|
|
|
<action name="Raise"/>
|
2022-01-07 16:13:36 -05:00
|
|
|
</mousebind>
|
2022-01-26 00:07:10 +01:00
|
|
|
<mousebind button="Right" action="Click">
|
|
|
|
|
<action name="Focus" />
|
|
|
|
|
<action name="Raise" />
|
|
|
|
|
<action name="ShowMenu">
|
|
|
|
|
<menu>client-menu</menu>
|
|
|
|
|
</action>
|
|
|
|
|
</mousebind>
|
2022-09-08 13:20:48 -04:00
|
|
|
</context>
|
|
|
|
|
|
|
|
|
|
<context name="Title">
|
|
|
|
|
<mousebind button="Left" action="Drag">
|
|
|
|
|
<action name="Move"/>
|
|
|
|
|
</mousebind>
|
2021-08-29 17:10:21 -04:00
|
|
|
<mousebind button="Left" action="DoubleClick">
|
|
|
|
|
<action name="ToggleMaximize"/>
|
|
|
|
|
</mousebind>
|
|
|
|
|
</context>
|
2021-12-23 05:58:28 +01:00
|
|
|
|
2021-11-01 20:43:57 -04:00
|
|
|
<context name="Maximize">
|
|
|
|
|
<mousebind button="Left" action="Click">
|
2021-12-23 05:58:28 +01:00
|
|
|
<action name="Focus"/>
|
|
|
|
|
<action name="Raise"/>
|
2021-12-03 22:14:37 +00:00
|
|
|
<action name="ToggleMaximize"/>
|
2021-11-01 20:43:57 -04:00
|
|
|
</mousebind>
|
|
|
|
|
</context>
|
2021-12-23 05:58:28 +01:00
|
|
|
|
2022-01-26 02:54:03 +01:00
|
|
|
<context name="WindowMenu">
|
|
|
|
|
<mousebind button="Left" action="Click">
|
|
|
|
|
<action name="ShowMenu">
|
|
|
|
|
<menu>client-menu</menu>
|
|
|
|
|
</action>
|
|
|
|
|
</mousebind>
|
|
|
|
|
</context>
|
|
|
|
|
|
2021-11-01 20:43:57 -04:00
|
|
|
<context name="Iconify">
|
|
|
|
|
<mousebind button="left" action="Click">
|
|
|
|
|
<action name="Iconify"/>
|
|
|
|
|
</mousebind>
|
|
|
|
|
</context>
|
2021-12-23 05:58:28 +01:00
|
|
|
|
2021-11-01 20:43:57 -04:00
|
|
|
<context name="Close">
|
|
|
|
|
<mousebind button="Left" action="Click">
|
|
|
|
|
<action name="Close"/>
|
|
|
|
|
</mousebind>
|
|
|
|
|
</context>
|
|
|
|
|
|
2021-12-03 22:14:37 +00:00
|
|
|
<context name="Client">
|
|
|
|
|
<mousebind button="Left" action="Press">
|
|
|
|
|
<action name="Focus"/>
|
|
|
|
|
<action name="Raise"/>
|
|
|
|
|
</mousebind>
|
|
|
|
|
<mousebind button="Middle" action="Press">
|
|
|
|
|
<action name="Focus"/>
|
|
|
|
|
<action name="Raise"/>
|
|
|
|
|
</mousebind>
|
|
|
|
|
<mousebind button="Right" action="Press">
|
|
|
|
|
<action name="Focus"/>
|
|
|
|
|
<action name="Raise"/>
|
|
|
|
|
</mousebind>
|
|
|
|
|
</context>
|
|
|
|
|
|
2021-12-26 23:02:07 +00:00
|
|
|
<context name="Root">
|
|
|
|
|
<mousebind button="Left" action="Press">
|
|
|
|
|
<action name="ShowMenu"><menu>root-menu</menu></action>
|
|
|
|
|
</mousebind>
|
2021-12-03 22:14:37 +00:00
|
|
|
<mousebind button="Right" action="Press">
|
|
|
|
|
<action name="ShowMenu"><menu>root-menu</menu></action>
|
|
|
|
|
</mousebind>
|
2021-12-26 23:02:07 +00:00
|
|
|
<mousebind button="Middle" action="Press">
|
|
|
|
|
<action name="ShowMenu"><menu>root-menu</menu></action>
|
|
|
|
|
</mousebind>
|
|
|
|
|
</context>
|
2021-12-03 22:14:37 +00:00
|
|
|
|
2021-08-29 17:10:21 -04:00
|
|
|
</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]
|
2021-12-12 22:12:46 +00:00
|
|
|
- tapButtonMap [lrm|lmr]
|
2021-10-19 21:48:49 +01:00
|
|
|
-->
|
|
|
|
|
<libinput>
|
|
|
|
|
<device category="">
|
|
|
|
|
<naturalScroll></naturalScroll>
|
|
|
|
|
<leftHanded></leftHanded>
|
|
|
|
|
<pointerSpeed></pointerSpeed>
|
|
|
|
|
<accelProfile></accelProfile>
|
|
|
|
|
<tap>yes</tap>
|
2021-12-12 22:12:46 +00:00
|
|
|
<tapButtonMap></tapButtonMap>
|
2021-10-19 21:48:49 +01:00
|
|
|
<middleEmulation></middleEmulation>
|
|
|
|
|
<disableWhileTyping></disableWhileTyping>
|
|
|
|
|
</device>
|
|
|
|
|
</libinput>
|
|
|
|
|
|
2021-08-22 19:09:31 +01:00
|
|
|
</labwc_config>
|