summaryrefslogtreecommitdiff
path: root/src/bar.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/bar.rs')
-rw-r--r--src/bar.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bar.rs b/src/bar.rs
index 0fe5415..ed1a2c9 100644
--- a/src/bar.rs
+++ b/src/bar.rs
@@ -57,7 +57,7 @@ impl Bar {
conn,
surface,
Some(output.wl),
- zwlr_layer_shell_v1::Layer::Top,
+ state.shared_state.config.layer.into(),
c"i3bar-river".into(),
layer_surface_cb,
);