remove A-Left and A-Right bindings

This commit is contained in:
Octopus Octopus 2024-05-08 18:39:01 -05:00
parent 534a669ff6
commit e8d1d05cd2
1 changed files with 54 additions and 25 deletions

View File

@ -22,12 +22,12 @@
<policy>automatic</policy> <policy>automatic</policy>
</placement> </placement>
--> -->
<theme> <theme>
<name>Vermello-borris</name> <name>Vermello-borris</name>
<cornerRadius>4</cornerRadius> <cornerRadius>4</cornerRadius>
<font name="Fantasque Sans Mono" weight="bold" size="12"/> <font name="Fantasque Sans Mono" weight="bold" size="12"/>
<dropShadows>yes</dropShadows> <dropShadows>yes</dropShadows>
</theme> </theme>
<keyboard> <keyboard>
<default/> <default/>
<keybind key="W-r"> <keybind key="W-r">
@ -43,30 +43,30 @@
</action> </action>
</keybind> </keybind>
<keybind key="S-Print"> <keybind key="S-Print">
<action name="Execute"> <action name="Execute">
<command>sh -c 'grim -g "`slurp`"'</command> <command>sh -c 'grim -g "`slurp`"'</command>
</action> </action>
</keybind> </keybind>
<keybind key="C-S-Print"> <keybind key="C-S-Print">
<action name="Execute"> <action name="Execute">
<command>sh -c 'grim -g "`slurp`" - | wl-copy'</command> <command>sh -c 'grim -g "`slurp`" - | wl-copy'</command>
</action> </action>
</keybind> </keybind>
<keybind key="C-Print"> <keybind key="C-Print">
<action name="execute"> <action name="execute">
<command>sh -c 'grim - | wl-copy'</command> <command>sh -c 'grim - | wl-copy'</command>
</action> </action>
</keybind> </keybind>
<keybind key="XF86_AudioLowerVolume"> <keybind key="XF86_AudioLowerVolume">
<action name="Execute"> <action name="Execute">
<command>sh -c 'pamixer --decrease 2; pamixer --get-volume &gt; /run/user/1000/wob.sock'</command> <command>sh -c 'pamixer --decrease 2; pamixer --get-volume &gt; /run/user/1000/wob.sock'</command>
</action> </action>
</keybind> </keybind>
<keybind key="XF86_AudioRaiseVolume"> <keybind key="XF86_AudioRaiseVolume">
<action name="Execute"> <action name="Execute">
<command>sh -c 'pamixer --increase 2; pamixer --get-volume &gt; /run/user/1000/wob.sock'</command> <command>sh -c 'pamixer --increase 2; pamixer --get-volume &gt; /run/user/1000/wob.sock'</command>
</action> </action>
</keybind> </keybind>
<!-- <!--
Remove a previously defined keybind Remove a previously defined keybind
A shorter alternative is <keybind key="W-F4" /> A shorter alternative is <keybind key="W-F4" />
@ -77,10 +77,10 @@
<keybind key="W-F4"> <keybind key="W-F4">
<action name="None"/> <action name="None"/>
</keybind> </keybind>
</keyboard> </keyboard>
<tablet mapToOutput="DP-1" rotate="0" mouseEmulation="no"> <tablet mapToOutput="DP-1" rotate="0" mouseEmulation="no">
<!-- <area top="0.0" left="0.0" width="0.0" height="0.0" /> --> <!-- <area top="0.0" left="0.0" width="0.0" height="0.0" /> -->
</tablet> </tablet>
<mouse> <mouse>
<default/> <default/>
<!-- Show a custom menu on desktop right click --> <!-- Show a custom menu on desktop right click -->
@ -88,7 +88,36 @@
<mousebind button="Right" action="Press"> <mousebind button="Right" action="Press">
<action name="ShowMenu" menu="some-custom-menu"/> <action name="ShowMenu" menu="some-custom-menu"/>
</mousebind> </mousebind>
</context> </context>
<context name="Frame">
<mousebind button="A-Left" action="Press">
<action name="none" />
</mousebind>
<mousebind button="A-Right" action="Press">
<action name="none" />
</mousebind>
<mousebind button="A-Left" action="Drag">
<action name="none" />
</mousebind>
<mousebind button="A-Right" action="Drag">
<action name="none" />
</mousebind>
<mousebind button="W-Left" action="Press">
<action name="Focus" />
<action name="Raise" />
</mousebind>
<mousebind button="W-Left" action="Drag">
<action name="Move" />
</mousebind>
<mousebind button="W-Right" action="Press">
<action name="Focus" />
<action name="Raise" />
</mousebind>
<mousebind button="W-Right" action="Drag">
<action name="Resize" />
</mousebind>
</context>
</mouse> </mouse>
<libinput> <libinput>
<device> <device>