From fa653337897b327a62b25840bea1713c262f45a6 Mon Sep 17 00:00:00 2001 From: Isaac Freund Date: Tue, 7 Apr 2020 21:48:56 +0200 Subject: Refactor keybindings to be runtime defined. --- src/root.zig | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'src/root.zig') diff --git a/src/root.zig b/src/root.zig index 3754b8b..9700827 100644 --- a/src/root.zig +++ b/src/root.zig @@ -34,12 +34,6 @@ pub const Root = struct { /// Percentage of the total screen that the master section takes up. master_factor: f64, - /// Width of borders in pixels - border_width: u32, - - /// Amount of view padding in pixels - view_padding: u32, - /// Number of pending configures sent in the current transaction. /// A value of 0 means there is no current transaction. pending_configures: u32, @@ -69,10 +63,6 @@ pub const Root = struct { self.master_factor = 0.6; - self.border_width = 4; - - self.view_padding = 10; - self.pending_configures = 0; self.transaction_timer = null; -- cgit v1.2.3