mirror of
https://codeberg.org/waydeer/layer-shika.git
synced 2025-12-12 14:25:54 +00:00
refactor: remove useless void return
This commit is contained in:
parent
dc950833ea
commit
89832a4033
1 changed files with 0 additions and 2 deletions
|
|
@ -28,7 +28,6 @@ fn main() -> Result<()> {
|
||||||
.select(Surface::named("TopBar"))
|
.select(Surface::named("TopBar"))
|
||||||
.on_callback("workspace_clicked", |_control| {
|
.on_callback("workspace_clicked", |_control| {
|
||||||
log::info!("Workspace button clicked in TopBar");
|
log::info!("Workspace button clicked in TopBar");
|
||||||
Value::Void
|
|
||||||
});
|
});
|
||||||
|
|
||||||
shell
|
shell
|
||||||
|
|
@ -37,7 +36,6 @@ fn main() -> Result<()> {
|
||||||
if let Some(Value::String(app_name)) = args.first() {
|
if let Some(Value::String(app_name)) = args.first() {
|
||||||
log::info!("App clicked in Dock: {}", app_name.as_str());
|
log::info!("App clicked in Dock: {}", app_name.as_str());
|
||||||
}
|
}
|
||||||
Value::Void
|
|
||||||
});
|
});
|
||||||
|
|
||||||
log::info!("Running shell with surfaces: {:?}", shell.surface_names());
|
log::info!("Running shell with surfaces: {:?}", shell.surface_names());
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue