Code Monkey home page Code Monkey logo

mousewindowmanager's Introduction

MouseWindowManager

This program makes it possible to move and resize windows into a simple gird structure. It's easier to use then most tiling window managers.

It is inspired by the compiz-grid-plugin, but uses the mouse to resize and reposition the window.

Usage

Just press your hot key, normally one of the extra mouse buttons and draw a line, to mark the grid fields. The window will be repositioned and resized to fit into the marked gird areas.

The grid splits you monitor like that:

      1/3 1/2 2/3
+------+---+---+------+
|      |   |   |      |
+------+---+---+------+   1/2
|      |   |   |      |
+------+---+---+------+

Linux Installation

The Linux version is Python2 script and uses the command line tool wmctrl to control the windows.

  1. Install wmctrl and python2
  2. Define your mouse button in linux/mouse.py.
  3. Start mouse.py for the command line or use the autostart entry in the same folder.

Note: You need a EWMH/NetWM compatible X Window Manager (Normally most window managers under Linux).

Windows

The windows version is a autohot key script.

  1. Install AutoHotKey from: https://autohotkey.com/
  2. Define your hotkey in windows/mwm.ahk (see below).
  3. Start the AutoHotKey script (just double click).

Note: For more information to define a hotkey see:

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.