Coder Social home page Coder Social logo

penta's Introduction

Penta

Penta is a python based WM. It depends on wm-utils directly and is designed to run on top of a no-wm session.

FIFO

Penta has no direct interaction. It relies on sending messages to a fifo. Penta then reads those messages and acts upon them. All messages follow this format. First is the event (in all caps). Then a colon ":". Next comes a set of params. These are all desermined by the message. They are seperated by a comma "," and NOTHING ELSE.

The messages that Penta currently recognizes are:

  • CREATE: wid = Adds a window to be managed by Penta.
  • DESTROY: wid = Removes a window being managed by Penta.
  • WINMOVEA: wid, x, y, w, h = Moves a window to an absolute location.
  • WINMOVER: wid, x, y, w, h = Moves a window to a realative location.
  • WINCORNER: wid, quadrant = Moves a window to a corner of the monitor.
  • WINCENTER: wid = Moves a window to the center of the monitor.
  • NEXT: wid = Goes to the next window in the list.
  • PREV: wid = Goes to the prev window in the list.
  • TOGRULE: wid, rule = Applies a rule to a window.
  • WINTAG: wid, tag = Moves a window to a tag.
  • TOGTAG: tag = Toggels the activation of a tag.
  • ONETAG: tag = Set a single tag to have focus.
  • TILE: mode = Sets Penta to a tile mode.

Tile

Penta currently supports three different tiling modes.

  • 0 = Floating
  • 1 = LStack
  • 2 = Monocole

RULES

Rules can be applied to windows and effect how windows are tiled. Only one rule is active at a time.

  • full = full screen the window
  • float = makes the window always floating
  • psuedo = applys a psuedo tile mode (float size at tiled pos)

TODO

Important things will be added ASAP.

  • Add a manual tiling mode similar to that of herbstluftwm. (IMPORTANT)
  • Add manipulation of the list of windows. (IMPORTANT)
  • Add the ability to dynamicaly create and destroy tags.
  • Add the ability to change the settings on the fly.
  • Tinker around with the code to make it more concise and clean.

penta's People

Contributors

vibex avatar

Stargazers

blackcascade avatar Joshua Shlemmer avatar

Watchers

 avatar

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.