summaryrefslogtreecommitdiffhomepage
path: root/tech.mdwn
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2015-11-11 11:21:39 -0700
committerSean Whitton <spwhitton@spwhitton.name>2015-11-11 11:21:39 -0700
commit925092235f95289efba67d5a6536370426d0f747 (patch)
tree9125f5c4880963976b6fa7827fda9b9d99f7639f /tech.mdwn
parent98bf9c3082ce7291dfaa92f58e0ce2459c725a0b (diff)
downloadwiki-925092235f95289efba67d5a6536370426d0f747.tar.gz
add tiling window manager patches
Diffstat (limited to 'tech.mdwn')
-rw-r--r--tech.mdwn35
1 files changed, 35 insertions, 0 deletions
diff --git a/tech.mdwn b/tech.mdwn
index f1a6e20..d5ec500 100644
--- a/tech.mdwn
+++ b/tech.mdwn
@@ -53,3 +53,38 @@ be adapted for other purposes (also used for Balliol Music Society
practice room booking).
[[jcrlaundry.tar.gz (6.9K gzip'd tar archive)|tech/code/jcrlaundry.tar.gz]]
+
+## Tiling window manager patches
+
+### placen command in Musca
+
+Adds the [Musca](http://aerosuidae.net/musca.html) command `placen`
+which is identical to `place` except it consider `WM_NAME` rather than
+`WM_CLASS` in matching windows. Really badly written.
+
+[[tech/code/wm/musca-0.9.24-placen.diff]]
+
+### No pointless border in Musca
+
+Here is a script for the [Musca](http://aerosuidae.net/musca.html)
+window manager that gets rid of the border round a frame when there's
+only one on the screen, in tiled mode.
+
+Put [the script](tech/code/wm/musca-0.9.24-uselessborder.sh) somewhere
+and add these lines to your `.musca_start`:
+
+``` {.conf-space}
+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
+```
+
+### Musca 'run in terminal'
+
+Adds a new command `term` which is the same as `shell` except it runs
+the command in a terminal (`rxvt-unicode` by default). This is supposed
+to be similar to the 'run in a terminal' checkbox you get in the run
+dialogs of mainstream desktop environments like Gnome and Xfce.
+
+[[tech/code/wm/musca-0.9.24-termlaunch.diff]]