Skip to content
/ pydwm Public

Simple Python Wrapper around dwm (Desktop Window Manager)

License

Notifications You must be signed in to change notification settings

benwah/pydwm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Jan 22, 2022
45ff4a0 · Jan 22, 2022

History

11 Commits
Jan 22, 2022
Jan 22, 2022
Dec 15, 2017
Jan 22, 2022
Jan 22, 2022
Dec 15, 2017
Dec 15, 2017
Jan 22, 2022
Jan 22, 2022
Jan 11, 2022
Jan 22, 2022
Jan 22, 2022

Repository files navigation

What is this?

This is a simple python wrapper around dwm.

It compiles dwm as a shared library, provides a pydwm module and a pydwm console script that calls pydwm's init_dwm function.

Why?

The main reason for doing this is to faciliate creating a startup script for DWM, without having to add something like adding python my_scripy.py & dwm to ~/.xinitrc, which results in some lingering processes when logging out.

With this, you can start dwm from a python script, and spawn sub-processes / threads or whatever you want.

Build

To build this, you'll need the source code for some libraries DWM requires. On Ubuntu:

sudo apt-get install build-essential libx11-dev libxft-dev libxinerama-dev

Run tests

python -m pytest

Install

About

Simple Python Wrapper around dwm (Desktop Window Manager)

Resources

License

Stars

Watchers

Forks

Packages

No packages published