Misc. code

A few old patches.

1 Patches

1.1 Musca

Musca is another minimal, blazingly-fast tiling window manager for X, but unlike dwm it uses manual tiling rather than dynamic: you have to create frames for windows to go in yourself, rather than watching dwm re-arrange your screen for you. Here are my hacks, released under the GNU GPL Version 3.

1.1.1 placen command

Adds the Musca command placen which is identical to place except it considers WM_NAME rather than WM_CLASS in matching windows. Extremely ugly code.

code/musca-0.9.24-placen.diff

1.1.2 No pointless border

Gets rid of the border round a frame when there's only one on the screen in tiled mode.

Put these lines in your .musca_start:

hook on ^hsplit exec path/to/uselessborder/script right
hook on ^vsplit exec path/to/uselessborder/script down
hook on ^(remove|only) exec path/to/uselessborder/script none
hook on ^(only|add) border off

code/musca-0.9.24-uselessborder.sh

1.1.3 Run in terminal

Adds a new command you can bind (no default bind), term, which is the same as shell but runs the command in a terminal (urxvt by default). This is similar to the "Run in a terminal" checkbox in Gnome's run dialog.

code/musca-0.9.24-termlaunch.diff

2 jcrlaundry

Here is a Drupal 6 module jcrlaundry that manages laundry slot booking for Balliol JCR—see here for a demo. Has admin overrides and e-mail notifications. It could be adapted for other purposes (also used for Balliol Music Society practice room booking).

jcrlaundry.tgz (6.9K gzip'd tar archive)

This page is part of Sean Whitton's website. Return to the homepage, visit his blog, or choose from the static content below.
Page last updated: 2011-12-25.

E-mail author/webmaster: spam-protected e-mail
        address

XHTML generated by Org version 7.8.02 with Emacs version 23.

Valid XHTML 1.0
        StrictAny Browser Campaign

© 2005–2012 Sean Whitton, Some Rights Reserved (dual-licensed GNU FDL & CC-BY-SA 2.0 UK).