294 lines
8 KiB
XML
294 lines
8 KiB
XML
<?xml version="1.0"?>
|
|
<labwc_config>
|
|
|
|
<theme>
|
|
<name>Lean</name>
|
|
<titlebar>
|
|
<layout>menu,desk:iconify,max,close</layout>
|
|
</titlebar>
|
|
<dropShadows>yes</dropShadows>
|
|
<keepBorder>yes</keepBorder>
|
|
<animateIconify>yes</animateIconify>
|
|
<cornerRadius>4</cornerRadius>
|
|
<font place="ActiveWindow">
|
|
<name>JetBrainsMono Nerd Font</name>
|
|
<size>8</size>
|
|
<weight>Bold</weight>
|
|
<slant>Normal</slant>
|
|
</font>
|
|
<font place="InactiveWindow">
|
|
<name>JetBrainsMono Nerd Font</name>
|
|
<size>8</size>
|
|
<weight>Normal</weight>
|
|
<slant>Normal</slant>
|
|
</font>
|
|
<font place="MenuHeader">
|
|
<name>JetBrainsMono Nerd Font</name>
|
|
<size>9</size>
|
|
<weight>Normal</weight>
|
|
<slant>Normal</slant>
|
|
</font>
|
|
<font place="MenuItem">
|
|
<name>JetBrainsMono Nerd Font</name>
|
|
<size>9</size>
|
|
<weight>Normal</weight>
|
|
<slant>Normal</slant>
|
|
</font>
|
|
<font place="ActiveOnScreenDisplay">
|
|
<name>JetBrainsMono Nerd Font</name>
|
|
<size>9</size>
|
|
<weight>Normal</weight>
|
|
<slant>Normal</slant>
|
|
</font>
|
|
<font place="InactiveOnScreenDisplay">
|
|
<name>JetBrainsMono Nerd Font</name>
|
|
<size>9</size>
|
|
<weight>Normal</weight>
|
|
<slant>Normal</slant>
|
|
</font>
|
|
</theme>
|
|
|
|
<margin>
|
|
<top>16</top>
|
|
<bottom>16</bottom>
|
|
<left>16</left>
|
|
<right>16</right>
|
|
</margin>
|
|
|
|
<placement>
|
|
<policy>automatic</policy>
|
|
</placement>
|
|
|
|
<desktops number="4" />
|
|
|
|
<keyboard>
|
|
|
|
<default/>
|
|
<!-- Use a different terminal emulator -->
|
|
<keybind key="W-Return">
|
|
<action name="Execute" command="konsole"/>
|
|
</keybind>
|
|
<!--
|
|
Remove a previously defined keybind
|
|
A shorter alternative is <keybind key="W-F4" />
|
|
-->
|
|
<keybind key="W-F4">
|
|
<action name="None"/>
|
|
</keybind>
|
|
|
|
<numlock>on</numlock>
|
|
|
|
<!-- launcher -->
|
|
<keybind key="W-Space">
|
|
<action name="Execute" command="rofi -show drun"/>
|
|
</keybind>
|
|
<!-- xfce key bindings -->
|
|
<keybind key="XF86_AudioLowerVolume">
|
|
<action name="Execute" command="amixer -D pulse sset Master 5%-" />
|
|
</keybind>
|
|
<keybind key="XF86_AudioRaiseVolume">
|
|
<action name="Execute" command="amixer -D pulse sset Master 5%+" />
|
|
</keybind>
|
|
<keybind key="XF86_AudioMute">
|
|
<action name="Execute" command="amixer -D pulse sset Master toggle" />
|
|
</keybind>
|
|
<keybind key="W-q">
|
|
<action name="Close" />6
|
|
</keybind>
|
|
<keybind key="A-Tab">
|
|
<action name="NextWindow" />
|
|
</keybind>
|
|
<keybind key="W-Tab">
|
|
<action name="ToggleMaximize" />
|
|
</keybind>
|
|
<keybind key="W-1">
|
|
<action name="GoToDesktop" to="1" />
|
|
</keybind>
|
|
<keybind key="W-2">
|
|
<action name="GoToDesktop" to="2" />
|
|
</keybind>
|
|
<keybind key="W-3">
|
|
<action name="GoToDesktop" to="3" />
|
|
</keybind>
|
|
<keybind key="W-4">
|
|
<action name="GoToDesktop" to="4" />
|
|
</keybind>
|
|
<!-- screenshot -->
|
|
<keybind key="Print">
|
|
<action name="Execute">
|
|
<command>~/.config/xfce4/labwc/screenshot-full.sh</command>
|
|
</action>
|
|
</keybind>
|
|
<keybind key="W-Print">
|
|
<action name="Execute">
|
|
<command>~/.config/xfce4/labwc/screenshot-part.sh</command>
|
|
</action>
|
|
</keybind>
|
|
</keyboard>
|
|
|
|
<mouse>
|
|
<!-- time is in ms -->
|
|
<doubleClickTime>500</doubleClickTime>
|
|
<scrollFactor>1.0</scrollFactor>
|
|
|
|
<context name="Frame">
|
|
<mousebind button="A-Left" action="Press">
|
|
<action name="Focus" />
|
|
<action name="Raise" />
|
|
</mousebind>
|
|
<mousebind button="A-Left" action="Drag">
|
|
<action name="Move" />
|
|
</mousebind>
|
|
<mousebind button="A-Right" action="Press">
|
|
<action name="Focus" />
|
|
<action name="Raise" />
|
|
</mousebind>
|
|
<mousebind button="A-Right" action="Drag">
|
|
<action name="Resize" />
|
|
</mousebind>
|
|
</context>
|
|
|
|
<context name="Top">
|
|
<mousebind button="Left" action="Drag">
|
|
<action name="Resize" />
|
|
</mousebind>
|
|
</context>
|
|
<context name="Left">
|
|
<mousebind button="Left" action="Drag">
|
|
<action name="Resize" />
|
|
</mousebind>
|
|
</context>
|
|
<context name="Right">
|
|
<mousebind button="Left" action="Drag">
|
|
<action name="Resize" />
|
|
</mousebind>
|
|
</context>
|
|
<context name="Bottom">
|
|
<mousebind button="Left" action="Drag">
|
|
<action name="Resize" />
|
|
</mousebind>
|
|
</context>
|
|
<context name="TRCorner">
|
|
<mousebind button="Left" action="Drag">
|
|
<action name="Resize" />
|
|
</mousebind>
|
|
</context>
|
|
<context name="BRCorner">
|
|
<mousebind button="Left" action="Drag">
|
|
<action name="Resize" />
|
|
</mousebind>
|
|
</context>
|
|
<context name="TLCorner">
|
|
<mousebind button="Left" action="Drag">
|
|
<action name="Resize" />
|
|
</mousebind>
|
|
</context>
|
|
<context name="BLCorner">
|
|
<mousebind button="Left" action="Drag">
|
|
<action name="Resize" />
|
|
</mousebind>
|
|
</context>
|
|
|
|
<context name="TitleBar">
|
|
<mousebind button="Left" action="Press">
|
|
<action name="Focus" />
|
|
<action name="Raise" />
|
|
</mousebind>
|
|
<mousebind button="Right" action="Click">
|
|
<action name="Focus" />
|
|
<action name="Raise" />
|
|
</mousebind>
|
|
<mousebind direction="Up" action="Scroll">
|
|
<action name="Unshade" />
|
|
<action name="Focus" />
|
|
</mousebind>
|
|
<mousebind direction="Down" action="Scroll">
|
|
<action name="Unfocus" />
|
|
<action name="Shade" />
|
|
</mousebind>
|
|
</context>
|
|
|
|
<context name="Title">
|
|
<mousebind button="Left" action="Drag">
|
|
<action name="Move" />
|
|
</mousebind>
|
|
<mousebind button="Left" action="DoubleClick">
|
|
<action name="ToggleMaximize" />
|
|
</mousebind>
|
|
<mousebind button="Right" action="Click">
|
|
<action name="ShowMenu" menu="client-menu" />
|
|
</mousebind>
|
|
</context>
|
|
|
|
<context name="Maximize">
|
|
<mousebind button="Left" action="Click">
|
|
<action name="ToggleMaximize" />
|
|
</mousebind>
|
|
<mousebind button="Right" action="Click">
|
|
<action name="ToggleMaximize" direction="horizontal" />
|
|
</mousebind>
|
|
<mousebind button="Middle" action="Click">
|
|
<action name="ToggleMaximize" direction="vertical" />
|
|
</mousebind>
|
|
</context>
|
|
|
|
<context name="WindowMenu">
|
|
<mousebind button="Left" action="Click">
|
|
<action name="ShowMenu" menu="client-menu" />
|
|
</mousebind>
|
|
<mousebind button="Right" action="Click">
|
|
<action name="ShowMenu" menu="client-menu" />
|
|
</mousebind>
|
|
</context>
|
|
|
|
<context name="Iconify">
|
|
<mousebind button="Left" action="Click">
|
|
<action name="Iconify" />
|
|
</mousebind>
|
|
</context>
|
|
|
|
<context name="Close">
|
|
<mousebind button="Left" action="Click">
|
|
<action name="Close" />
|
|
</mousebind>
|
|
</context>
|
|
|
|
<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>
|
|
|
|
<context name="Root">
|
|
<mousebind button="Left" action="Press">
|
|
<action name="ShowMenu" menu="root-menu" />
|
|
</mousebind>
|
|
<mousebind button="Right" action="Press">
|
|
<action name="ShowMenu" menu="root-menu" />
|
|
</mousebind>
|
|
<mousebind button="Middle" action="Press">
|
|
<action name="ShowMenu" menu="root-menu" />
|
|
</mousebind>
|
|
<mousebind direction="W-Up" action="Scroll">
|
|
<action name="GoToDesktop" to="left" wrap="yes" />
|
|
</mousebind>
|
|
<mousebind direction="W-Down" action="Scroll">
|
|
<action name="GoToDesktop" to="right" wrap="yes" />
|
|
</mousebind>
|
|
</context>
|
|
</mouse>
|
|
|
|
<snapping>
|
|
<range>10</range>
|
|
</snapping>
|
|
|
|
</labwc_config>
|