Skip to content

Commit 90dd85f

Browse files
authored
released at 0.0.5
1 parent 23ed325 commit 90dd85f

File tree

6 files changed

+65
-12
lines changed

6 files changed

+65
-12
lines changed

.github/FUNDING.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# These are supported funding model platforms
22

3-
github: # Replace with a single Patreon username
3+
github: mcpcpc
44
patreon: # Replace with a single Patreon username
55
open_collective: # Replace with a single Open Collective username
66
ko_fi: # Replace with a single Ko-fi username

CHANGELOG

+5
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
3333

3434
### Fixed
3535
- Crash when pointer x/y cords less than window origin.
36+
37+
## [0.0.5] - 20202-11-11
38+
### Added
39+
- Default key bindings in man page.
40+
- Disclaimer section in README.

README

+9-2
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ libxcb, along with any default or user defined utility:
1919
COMMANDS
2020
========
2121

22-
The following aliased commands have been implemented (although most of the
23-
default behaviors can be customized via the config.h file):
22+
The following aliased commands have been implemented (although most
23+
of the default behaviors can be customized via the config.h file):
2424

2525
Win+Button1+[drag] interactive window move
2626
Win+Button3+[drag] interactive window resize
@@ -73,6 +73,13 @@ Using imagemagick to set a wallpaper:
7373
Patching xwm (after copying the *.patch into the source dir.):
7474
patch -p0 < mypatch.patch
7575

76+
DISCLAIMER
77+
==========
78+
79+
xwm ("XCB Window Manager") is an homage to the original "X Window
80+
Manager", which is now defunct and unmaintained. Both projects
81+
are unaffiliated and do not share any common source code.
82+
7683
CONTACT
7784
=======
7885

xwm.1

+48-8
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,67 @@
1-
.\" Manpage for xwm.
1+
.\"Manpage for xwm.
22
.TH XWM 1 "NOVEMBER 2020" Linux "User Manuals"
33
.SH NAME
44
xwm \- a tiny XCB floating window managers
55
.SH SYNOPSIS
66
.B xwm [-v]
77
.SH DESCRIPTION
88
.B xwm
9-
is a tiny floating window manager implemented using
10-
the XCB protocol. Other than
9+
is a tiny floating window manager implemented using
10+
the XCB protocol. Other than
1111
.BR libxcb (1),
12-
xwm also specifies third-party utilitiies for command
13-
alias, including the
12+
xwm relies on third-party tools, which can be
13+
configured or expanded to meet the user's preference.
14+
The default configuration provides support and
15+
command aliases for the
1416
.BR surf (1)
1517
web browser,
1618
.BR st (1)
1719
terminal emulator and
1820
.BR dmenu (1)
19-
application launcher. Defaults for these command
20-
aliases can be configured or patched to the user's
21-
preference.
21+
application launcher.
2222
.SH OPTIONS
2323
.IP -v
2424
Prints the current xwm version.
25+
.SH DEFAULT KEY BINDINGS
26+
.B xwm
27+
may be controlled from an attached client using a key
28+
combination of a prefix key, the 'Super' (Win) key by
29+
default, followed by a command key.
30+
.PP
31+
The default command key bindings are:
32+
.TS
33+
tab(;);
34+
lb l l.
35+
_
36+
Super-MouseButton1;[drag];T{
37+
Interactive window move.
38+
T}
39+
_
40+
Super-MouseButton3;[drag];T{
41+
Interactive window resize.
42+
T}
43+
_
44+
Super;Space;T{
45+
Run launcher menu (default: dmenu_run).
46+
T}
47+
_
48+
Super;Enter;T{
49+
Create new terminal window (default: st).
50+
T}
51+
_
52+
Super;b;T{
53+
Create new browser window (default: surf).
54+
T}
55+
_
56+
Super;q;T{
57+
Kill focused window.
58+
T}
59+
_
60+
Super-Shift;q;T{
61+
Quite window manager.
62+
T}
63+
_
64+
.TE
2565
.SH BUGS
2666
No known bugs.
2767
.SH AUTHOR

xwm.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ static int strcmp_c(char * str1, char * str2) {
221221
int main(int argc, char * argv[]) {
222222
int ret = 0;
223223
if ((argc == 2) && (strcmp_c("-v", argv[1]) == 0)) {
224-
ret = die("xwm-0.0.4, © 2020 Michael Czigler, see LICENSE for details\n");
224+
ret = die("xwm-0.0.5, © 2020 Michael Czigler, see LICENSE for details\n");
225225
}
226226
if ((ret == 0) && (argc != 1)) {
227227
ret = die("usage: xwm [-v]\n");

xwm.h

+1
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ static handler_func_t handler_funs[] = {
4545
};
4646

4747
/* intialize */
48+
static void subscribeToEvents(void);
4849
static void grabKeys(void);
4950
static void grabButtons(void);
5051

0 commit comments

Comments
 (0)