103 lines
2.8 KiB
XML
103 lines
2.8 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.al
|
|
-->
|
|
<labwc_config>
|
|
<core>
|
|
<decoration>server</decoration>
|
|
<gap>16</gap>
|
|
<adaptiveSync>yes</adaptiveSync>
|
|
<allowTearing>no</allowTearing>
|
|
</core>
|
|
<snapping>
|
|
<range>24</range>
|
|
<topMaximize>yes</topMaximize>
|
|
<overlay>
|
|
<enabled>yes</enabled>
|
|
</overlay>
|
|
</snapping>
|
|
<!-- re-enable when this is better lol
|
|
<placement>
|
|
<policy>automatic</policy>
|
|
</placement>
|
|
-->
|
|
<theme>
|
|
<name>Vermello-borris</name>
|
|
<cornerRadius>4</cornerRadius>
|
|
<font name="Fantasque Sans Mono" weight="bold" size="12"/>
|
|
<dropShadows>yes</dropShadows>
|
|
</theme>
|
|
<keyboard>
|
|
<default/>
|
|
<keybind key="W-r">
|
|
<action name="Execute" command="j4-dmenu-desktop --dmenu=tofi"/>
|
|
</keybind>
|
|
<!-- Use a different terminal emulator -->
|
|
<keybind key="W-Return">
|
|
<action name="Execute" command="kitty"/>
|
|
</keybind>
|
|
<keybind key="Print">
|
|
<action name="execute">
|
|
<command>sh -c 'grim'</command>
|
|
</action>
|
|
</keybind>
|
|
<keybind key="S-Print">
|
|
<action name="Execute">
|
|
<command>sh -c 'grim -g "`slurp`"'</command>
|
|
</action>
|
|
</keybind>
|
|
<keybind key="C-S-Print">
|
|
<action name="Execute">
|
|
<command>sh -c 'grim -g "`slurp`" - | wl-copy'</command>
|
|
</action>
|
|
</keybind>
|
|
<keybind key="C-Print">
|
|
<action name="execute">
|
|
<command>sh -c 'grim - | wl-copy'</command>
|
|
</action>
|
|
</keybind>
|
|
<keybind key="XF86_AudioLowerVolume">
|
|
<action name="Execute">
|
|
<command>sh -c 'pamixer --decrease 2; pamixer --get-volume > /run/user/1000/wob.sock'</command>
|
|
</action>
|
|
</keybind>
|
|
<keybind key="XF86_AudioRaiseVolume">
|
|
<action name="Execute">
|
|
<command>sh -c 'pamixer --increase 2; pamixer --get-volume > /run/user/1000/wob.sock'</command>
|
|
</action>
|
|
</keybind>
|
|
<!--
|
|
Remove a previously defined keybind
|
|
A shorter alternative is <keybind key="W-F4" />
|
|
-->
|
|
<!-- <keybind key="A-Tab">
|
|
<action name="Execute" command="fish ~/.local/bin/ftl.fish"/>
|
|
</keybind>-->
|
|
<keybind key="W-F4">
|
|
<action name="None"/>
|
|
</keybind>
|
|
</keyboard>
|
|
<tablet mapToOutput="DP-1" rotate="0" mouseEmulation="no">
|
|
<!-- <area top="0.0" left="0.0" width="0.0" height="0.0" /> -->
|
|
</tablet>
|
|
<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>
|
|
<libinput>
|
|
<device>
|
|
<naturalScroll>no</naturalScroll>
|
|
</device>
|
|
</libinput>
|
|
<windowRules>
|
|
<windowRule identifier="imv" serverDecoration="yes"/>
|
|
<windowRule identifier="megasync"/>
|
|
</windowRules>
|
|
</labwc_config>
|