clicksnap CTRL+click window snapping for Openbox https://maboxlinux.org
Go to file
2021-05-04 18:34:30 +02:00
CHANGELOG.md - better handle undecorated windows 2021-05-04 18:34:30 +02:00
clicksnap - better handle undecorated windows 2021-05-04 18:34:30 +02:00
clicksnap.png initial commit 2021-05-03 17:12:48 +02:00
README.md - better handle undecorated windows 2021-05-04 18:34:30 +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. Configurable gap between windows.

(Far from perfection, but imho already enough good to use)

Requirements

  • wmctrl
  • xdotool
  • xwininfo

Installation

wget https://git.maboxlinux.org/napcok/clicksnap/raw/branch/master/clicksnap
chmod +x clicksnap

Add this mousebind action to context Frame:

  <mousebind action="Press" button="C-Left">
    <action name="UnmaximizeFull"/>
    <action name="Execute">
      <command>clicksnap</command>
    </action>
  </mousebind>

Usage

clicksnap is binded to Ctrl + Left Mouse Click Click inside window you like to move. There are 9 areas ... see screenshot :)

clicksnap

Configuration