clicksnap CTRL+click window snapping for Openbox https://maboxlinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Daniel Napora 954db439ce ignore docks, better gap calc 5 months ago
CHANGELOG.md ignore docks, better gap calc 5 months ago
README.md - better handle undecorated windows 5 months ago
clicksnap ignore docks, better gap calc 5 months ago
clicksnap.png initial commit 5 months ago

README.md

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