summaryrefslogtreecommitdiff
path: root/dotwm.1
blob: 307a0d1677b22aaac98ea7a86741f29a205519ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
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>