Alopex

Check-in [57a35c03a7]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:finished command descriptions
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk | master
Files: files | file ages | folders
SHA3-256: 57a35c03a7efbce0a35b67e2731eaaa27ff8f5506b3f67bcb1d898fd7f7f457c
User & Date: jesse@mccluresk9.com 2014-01-31 19:49:33
Context
2014-01-31
19:54
moved markdown info to wiki check-in: 530bae1056 user: jesse@mccluresk9.com tags: trunk, master
19:49
finished command descriptions check-in: 57a35c03a7 user: jesse@mccluresk9.com tags: trunk, master
19:37
clean swp file check-in: 6c87efba9f user: jesse@mccluresk9.com tags: trunk, master
Changes

Changes to share/commands.md.

63
64
65
66
67
68
69

70

71

72

73













































**Layout** Select a tiling layout

>lr lb lm lx

Select rstack, bstack, monocle, or cycle through modes




























































>

>

>

>

>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121

**Layout** Select a tiling layout

>lr lb lm lx

Select rstack, bstack, monocle, or cycle through modes

**Quit** close the current client, or alopex itself

>q

Close the focused client window

>Q

Exit alopex

**View** Toggle views

>v

Toggle between two alternative views (coming soon)

**Mark** Mark the focused client window

>z#

Set the specified mark number to the currently focused client window

**Congigurable Tile Options**

>n# ni nd nr

Set the maximum number of clients for the current container to the
specified numer, increase by one, decrease by one, or reset to the
default setting

>s# si sd sr

Set the monitor split value to the specified number, increase by one,
decrease by one, or reset to the default setting

>g# gi gd gr

Set the monitor gap to the specified number, increase by one, decrease
by one, or reset to the default value.

**Bar Options**

>bs bh bx bt bb

Adjust the currently focused container bar to show, hide, toggle
visibility, place on top, or place on bottom

>bS bH bX bT bB

Adjust all bars to show, hide, toggle visibility, place on top, or place
on bottom

Changes to src/actions.c.

131
132
133
134
135
136
137

138


139
140
141
142
143
144
145
146
	if (!m->focus) return 1;
	int n, *t, r;
	switch (s[0]) {
		case 'n': t = &m->focus->n; r = m->focus->nn; break;
		case 's': t = &m->split; r = conf.split; break;
		case 'g': t = &m->gap; r = conf.gap; break;
	}

	if (s[2]) n = atoi(&s[2]);


	switch (s[1]) {
		case 'i': *t += 1; break;
		case 'd': *t -= 1; break;
		case 'r': *t = r; break;
		default: *t += atoi(&s[1]); break;
	}
}








>
|
>
>
|







131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
	if (!m->focus) return 1;
	int n, *t, r;
	switch (s[0]) {
		case 'n': t = &m->focus->n; r = m->focus->nn; break;
		case 's': t = &m->split; r = conf.split; break;
		case 'g': t = &m->gap; r = conf.gap; break;
	}
	if (s[1]) {
		n = atoi(&s[1]);
		*t = n;
	}
	else switch (s[1]) {
		case 'i': *t += 1; break;
		case 'd': *t -= 1; break;
		case 'r': *t = r; break;
		default: *t += atoi(&s[1]); break;
	}
}