Skip to content

manfromth3m0oN/m0onwm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A basic python-xlib window manager

TODO:

  • Document almost everything

Keybinds

To edit the keybinds first add the key to the grabbedKeys list. After which you need to define its functionality in the kp() function

Workspaces

To change the names of the workspaces the genworkspaces() call needs to be changed and some minor adjustments to accept words or short collections of chars to use as ws names

Mapping of windows for workspaces

When a window is created it needs to be mapped to be visible.

The current mapping implamentation is very limited as it maps a window as soon as the window is created. For the window manager to respect workspaces, it must only map windows within the current workspace.

The first step is for when process is spawned, if it sends a map request, the request is to be sent to a method which determines which workspace it is to be placed into. This could allow for programs to be opened onto other workspaces from the current one.

Then by looping through the windows atributed to a certian workspace, once a workspace is opened, each window will be mapped with the Window.map() method

When leaving a workspace all open programs will be unmapped with Window.unmap()

Conceptualising how tiling should work

So the better way to make this easier on ones self is to just use master and stack layout instead of dwindle or fibonacci The way to do it would be to split the root window in half and then if there is more than one window, workspaces[ws][0] takes up half of the screen

Install

Requirements:

Xlib

To install clone the repo and put this in your .xinitrc

exec python /path/to/m0onwm/main.py

About

A (nie on) keyboard only python window manager

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published