aboutsummaryrefslogtreecommitdiff
path: root/src/root.zig
diff options
context:
space:
mode:
authorIsaac Freund <ifreund@ifreund.xyz>2020-04-07 21:48:56 +0200
committerIsaac Freund <ifreund@ifreund.xyz>2020-04-07 21:48:56 +0200
commitfa653337897b327a62b25840bea1713c262f45a6 (patch)
treee7e54b0d861cf9eaa504ea9c266f88ed24cc1de9 /src/root.zig
parent15f97314a9a72685a3468dcb72bac4e534b05b35 (diff)
downloadriver-fa653337897b327a62b25840bea1713c262f45a6.tar.gz
river-fa653337897b327a62b25840bea1713c262f45a6.tar.xz
Refactor keybindings to be runtime defined.
Diffstat (limited to 'src/root.zig')
-rw-r--r--src/root.zig10
1 files changed, 0 insertions, 10 deletions
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;