Giter Site home page Giter Site logo

winman's Introduction

Winman

This is going to be a pragmatic, i3 inspired window manager for windows 10. Its still in development.

Dev notes

The basic Idea is, that windows are layed out in a tree. A tree has container and leaf nodes. A leaf node, represents a window. A container holds other nodes and has an orientation. Horizontal, vertical, and deep. Deep means, its children are layed out on the z-axis.

As there is no way in windows to get notified reliably when a new window is created, you have to "grab" window, to bring it under the window managers control. Currently that is done by pressing Ctrl + Shift + Alt + G. I'll refer to the modifier combination as MEH from here on out. If you press MEH + one of V, H, or D before grabbing a window, the last window will be wrapped into a new container with the respective orientation, and the new window will be added to it.

Windows that are managed by winman will be checked twice per secon for whether they still exist, and if they dont, they are kicked, and everything else is resized. (This is done in one thread, in a mainloop)

Plans for the future.

Besides implemententing all the features you'd expect from a sensible window manager, I'll also add a launcher to it, so that it is possible to automatically grab the windows, that you start through the launcher.

Building

This is a windows program, and requires a manifest. The before build part of the nimble file takes care of it. However, if you, for what ever reason, change the resources.rc file, it will not automatically be remopiled. Mainly because the getFileInfo() proc is not available in nimscript, so its not possible to compare the lastEdited Timestamps.

winman's People

Contributors

knorrfg avatar

Watchers

James Cloos avatar  avatar  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.