baverman / orcsome

Scripting extension for NETWM compliant window managers
MIT License
28 stars 3 forks source link

Orcsome is a scripting extension for NETWM compliant window managers. It can help a lot to customize your work environment.

Motivation

I'm old awesome_ user with two year experience. I like it not for tiling but for lua and ability to tune its behavior. But for a very long time some problems stay unsolved:

Simply put, awesome sucks as window manager.

I need a robust wm with long devel history, small, fast, candy and scriptable on normal language (hello fvwm). But there are a plenty of robust, small, fast and candy only wm's. There is no any scriptable.

So I decide to write tiny wm helper application which will be compatible with many window managers and allow to configure flexible workflows.

.. _awesome: http://awesome.naquadah.org/

Features

Installation

From PyPI '''''''''

I'm regularly upload packages of new versions. So you can install orcsome with easy_install::

sudo easy_install orcsome

or pip_::

sudo pip install orcsome

From source '''''''''''

::

git clone --depth=1 git://github.com/baverman/orcsome.git cd orcsome python setup.py build sudo python setup.py install

If you often pull changes from master brunch I recommend you following recipe:

ArchLinux '''''''''

There is orcsome package in AUR.

.. _pip: http://pip.openplans.org/

Documentation <http://pythonhosted.org/orcsome/>_

Quick start '''''''''''

The most common functionality needed is to bind hot keys to spawn or raise applications.

Edit ~/.config/orcsome/rc.py::

from orcsome import get_wm from orcsome.actions import *

wm = get_wm()

wm.on_key('Shift+Mod+r')( restart)

wm.on_key('Ctrl+Alt+p')( spawn_or_raise('urxvtc -name ncmpcpp -e ncmpcpp', name='ncmpcpp'))

wm.on_key('Mod+n')( spawn_or_raise('urxvtc -name mutt -e mutt', name='mutt'))

wm.on_key('Mod+k')( spawn_or_raise('urxvtc -name rtorrent -e rtorrent-screen', name='rtorrent'))

And start orcsome. That's all.

TODO

Contacts

You can create issues on github <https://github.com/baverman/orcsome/issues>_.

Or mail directly to bobrov at vl dot ru.