Set layer-shell namespace to breadbar, bump version to 0.2.4
This commit is contained in:
parent
8471cc02fe
commit
e8d5fd5a52
3 changed files with 3 additions and 2 deletions
2
Cargo.lock
generated
2
Cargo.lock
generated
|
|
@ -119,7 +119,7 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "breadbar"
|
name = "breadbar"
|
||||||
version = "0.2.3"
|
version = "0.2.4"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"bread-theme",
|
"bread-theme",
|
||||||
"futures-lite",
|
"futures-lite",
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "breadbar"
|
name = "breadbar"
|
||||||
version = "0.2.3"
|
version = "0.2.4"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
description = "Minimal status bar and notification daemon for Hyprland on Wayland"
|
description = "Minimal status bar and notification daemon for Hyprland on Wayland"
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
|
|
|
||||||
|
|
@ -123,6 +123,7 @@ impl SimpleComponent for App {
|
||||||
sender: ComponentSender<Self>,
|
sender: ComponentSender<Self>,
|
||||||
) -> ComponentParts<Self> {
|
) -> ComponentParts<Self> {
|
||||||
root.init_layer_shell();
|
root.init_layer_shell();
|
||||||
|
root.set_namespace(Some("breadbar"));
|
||||||
root.set_layer(Layer::Top);
|
root.set_layer(Layer::Top);
|
||||||
root.set_anchor(Edge::Top, true);
|
root.set_anchor(Edge::Top, true);
|
||||||
root.set_anchor(Edge::Left, true);
|
root.set_anchor(Edge::Left, true);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue