Make Config a topleve struct
This commit is contained in:
parent
d20d01e596
commit
a03cab94fc
2 changed files with 170 additions and 171 deletions
|
@ -1,12 +1,12 @@
|
|||
const Self = @This();
|
||||
|
||||
const std = @import("std");
|
||||
|
||||
const c = @import("c.zig");
|
||||
const command = @import("command.zig");
|
||||
|
||||
const Server = @import("server.zig");
|
||||
|
||||
pub const Config = struct {
|
||||
const Self = @This();
|
||||
|
||||
/// Width of borders in pixels
|
||||
border_width: u32,
|
||||
|
||||
|
@ -204,4 +204,3 @@ pub const Config = struct {
|
|||
|
||||
try self.float_filter.append("float");
|
||||
}
|
||||
};
|
||||
|
|
|
@ -4,7 +4,7 @@ const std = @import("std");
|
|||
|
||||
const c = @import("c.zig");
|
||||
|
||||
const Config = @import("config.zig").Config;
|
||||
const Config = @import("config.zig");
|
||||
const DecorationManager = @import("decoration_manager.zig");
|
||||
const InputManager = @import("input_manager.zig").InputManager;
|
||||
const Log = @import("log.zig").Log;
|
||||
|
|
Loading…
Reference in a new issue