View Code? Open in Web Editor
NEW
A basic window manager written in Zig.
License: The Unlicense
Zig 99.07%
Makefile 0.93%
zigwindowmanager's Introduction
ZigWindowManager
- Tiling and floating
- Non reparenting
- Single screen support
- Simple code
Based on
A basic window manager written in Zig
- This window manager doesn't capture keypresses... We need a key daemon. For example sxhkd
zigwindowmanager's People
Contributors
Watchers
zigwindowmanager's Issues
zig build-exe src/main.zig -lc -lX11 -lXft -I/usr/include/freetype2
/usr/lib/zig/std/fmt.zig:568:17: error: cannot format array without a specifier (i.e. {s} or {any})
@compileError("cannot format array without a specifier (i.e. {s} or {any})");
^
/usr/lib/zig/std/fmt.zig:352:23: note: called from here
try formatType(
^
/usr/lib/zig/std/io/writer.zig:34:34: note: called from here
return std.fmt.format(self, format, args);
^
/usr/lib/zig/std/debug.zig:68:27: note: called from here
nosuspend stderr.print(fmt, args) catch return;
^
./src/main.zig:319:19: note: called from here
print ("Title of client {} read as verbatim string\n", .{cl.name});
^
./src/main.zig:291:96: note: called from here
fn manageWindow(window: c.Window, window_attrs: c.XWindowAttributes, display: *c.Display) void {
^
/usr/lib/zig/std/fmt.zig:568:17: error: cannot format array without a specifier (i.e. {s} or {any})
@compileError("cannot format array without a specifier (i.e. {s} or {any})");
^
/usr/lib/zig/std/fmt.zig:352:23: note: called from here
try formatType(
^
/usr/lib/zig/std/io/writer.zig:34:34: note: called from here
return std.fmt.format(self, format, args);
^
/usr/lib/zig/std/debug.zig:68:27: note: called from here
nosuspend stderr.print(fmt, args) catch return;
^
./src/main.zig:11:10: note: called from here
print("Message arrived: {}\n ", .{message});
^
./src/main.zig:10:70: note: called from here
fn process_client_message(message: [20]u8, display: *c.Display) void {
^
make: *** [makefile:2: main] Error 1