aboutsummaryrefslogtreecommitdiff
path: root/src/config.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/config.zig')
-rw-r--r--src/config.zig6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/config.zig b/src/config.zig
index b88fbb8..c4e7f23 100644
--- a/src/config.zig
+++ b/src/config.zig
@@ -13,6 +13,9 @@ pub const Config = struct {
/// Amount of view padding in pixels
view_padding: u32,
+ /// Amount of padding arount the outer edge of the layout in pixels
+ outer_padding: u32,
+
const Keybind = struct {
keysym: c.xkb_keysym_t,
modifiers: u32,
@@ -25,7 +28,8 @@ pub const Config = struct {
pub fn init(self: *Self, allocator: *std.mem.Allocator) !void {
self.border_width = 2;
- self.view_padding = 10;
+ self.view_padding = 8;
+ self.outer_padding = 8;
self.keybinds = std.ArrayList(Keybind).init(allocator);