nvm actual init commit

This commit is contained in:
Breadway 2026-05-17 13:17:31 +08:00
parent 633467b6f2
commit 255be18ca2
6 changed files with 21 additions and 146 deletions

View file

@ -43,8 +43,8 @@ impl SimpleComponent for App {
view! {
gtk::ApplicationWindow {
add_css_class: "aster-bar",
set_title: Some("aster"),
add_css_class: "breadbar",
set_title: Some("breadbar"),
set_default_height: 32,
#[name = "center_box"]
@ -199,6 +199,6 @@ fn main() {
}
});
let app = RelmApp::new("sh.breadway.aster");
let app = RelmApp::new("sh.breadway.breadbar");
app.run::<App>(());
}

View file

@ -49,7 +49,7 @@ fn load_css() -> String {
border: none; min-width: 24px; padding: 0 8px; }}\
.workspace-btn:hover, .workspace-btn.active {{ background: {accent}; }}\
label {{ color: {fg}; }}\
window.aster-notification {{ background-color: alpha({bg_plain}, 0.95); }}\
window.breadbar-notification {{ background-color: alpha({bg_plain}, 0.95); }}\
.notification-card {{ background: {surface}; border-radius: 6px;\
padding: 10px; margin-bottom: 4px; }}\
.notification-summary {{ font-weight: bold; color: {fg}; }}\