diff options
author | Matias Linares <matiaslina@openmailbox.org> | 2015-12-07 16:22:26 -0300 |
---|---|---|
committer | Matias Linares <matiaslina@openmailbox.org> | 2015-12-07 16:22:26 -0300 |
commit | c754763c4370a9eb055e68db3d638fd38382c137 (patch) | |
tree | 8fcc234899b9bbbbe1cb99830b0caee83d5f07c6 | |
parent | 69f8194da778a692b6b0c14f43d9611c2072e8ba (diff) | |
download | dotwm-c754763c4370a9eb055e68db3d638fd38382c137.tar.gz |
Add ManPage :)
-rw-r--r-- | dotwm.1 | 71 |
1 files changed, 71 insertions, 0 deletions
@@ -0,0 +1,71 @@ +.TH DOTWM 1 DotMW\-v0.1 +.nh +.SH NAME +DotWM - Keyboard driven window manager +.SH SYNOPSIS +.B dotwm +.RI [ -v ] +.br +.SH DESCRIPTION +.B dotwm +is a stacking windows manager for the X window system that is keyboard +driven. +.SH OPTIONS +.B \-v +Print the version information and exits. +.SH CONFIGURATION +.B dotwm +is configured through an unix socket located at /var/run/dotwm.sock. This allows +to make any interface that the user wants. +.SS SOCKET COMMANDS +.HP +.I bind [Mod1-Mod2...] [key] command [args] +Bind a keypress event on the window manager +.HP +.I exec external-command +executes an external command. +.HP +.I resize-win x y +Resizes the current window x and y relative to the current size. +.HP +.I resize-win-sticky [left|right|down|up] +resize the current window to the next window/screen border. +.HP +.I move-win x y +Moves the current window x and y relative to the current position. +.HP +.I move-win-sticky [left|right|down|up] +Moves the current window to the next window/screen border. +.HP +.I close-win +closes the current window, trying to close it gracefully. +.HP +.I focus-next +focus the next window on the internal list. +.HP +.I fullscreen +set fullscreen the current window. +.HP +.I change-desktop [idx] +changes to the desktop idx. +.SS EXAMPLE CONFIGURATION +#!/bin/bash +.br +dot() { +.br + # Using BSD netcat +.br + printf "%s " $@ | netcat -U dotwm.sock +.br +} +.br +# Fullscreens the current window with alt-f +.br +dot bind Mod1 f fullscreen +.br +# Spawn xterm +.br +dot exec xterm +.br +.SH AUTHOR +Matias Linares <park@team-deprecated.org> |