Set layer-shell namespace to breadbar, bump version to 0.2.4
Some checks failed
Mirror to GitHub / mirror (push) Successful in 39s
Build and publish package / package (push) Failing after 5m4s
release / build (push) Successful in 6m33s

This commit is contained in:
Breadway 2026-07-10 18:04:31 +08:00
parent 8471cc02fe
commit e8d5fd5a52
3 changed files with 3 additions and 2 deletions

2
Cargo.lock generated
View file

@ -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",

View file

@ -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"

View file

@ -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);