clicksnap/README.md

26 lines
672 B
Markdown
Raw Normal View History

2021-05-03 17:12:48 +02:00
# clicksnap
clicksnap for Openbox - click on the appropriate area of the window to snap it in a given direction.
Works with active and inactive windows.
2021-05-03 17:18:52 +02:00
## Requirements
- wmctrl
- xdotool
## Installation
wget https://git.maboxlinux.org/napcok/clicksnap/raw/branch/master/clicksnap
chmod +x clicksnap
2021-05-03 17:12:48 +02:00
Add this mousebind action to context Frame:
<mousebind action="Press" button="C-Left">
<action name="UnmaximizeFull"/>
<action name="Execute">
<command>clicksnap</command>
</action>
</mousebind>
2021-05-03 17:15:17 +02:00
clicksnap is binded to <kbd>Ctrl</kbd> + <kbd>Left Mouse Click</kbd>
2021-05-03 17:12:48 +02:00
![clicksnap](clicksnap.png "clicksnap areas")