summaryrefslogtreecommitdiff
path: root/src/bar.rs
diff options
context:
space:
mode:
authorMaxVerevkin <maxxverrr@gmail.com>2024-08-09 21:02:22 +0300
committerMaxVerevkin <maxxverrr@gmail.com>2024-08-09 21:02:26 +0300
commita1a9933640980034783f5070d16d781f0f7cbee9 (patch)
treebd74d02573ce7e482978f13c53b0d97687631192 /src/bar.rs
parent3413a203f452875c7af07284c6ac080c22555b48 (diff)
downloadi3bar-mango-a1a9933640980034783f5070d16d781f0f7cbee9.tar.gz
config: add layer option
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,
);