feat: add wayvrctl ipc for overlay show hide (#338)

This commit is contained in:
Amos Wong
2026-01-04 20:53:47 +08:00
committed by GitHub
parent 36f64c5027
commit dd3486f06b
7 changed files with 41 additions and 1 deletions
+12
View File
@@ -236,6 +236,18 @@ pub async fn wlx_device_haptics(
)
}
pub async fn wlx_overlay_show_hide(
state: &mut WayVRClientState,
) {
handle_empty_result(
WayVRClient::fn_wlx_overlay_show_hide(
state.wayvr_client.clone(),
)
.await
.context("failed to trigger overlay show hide"),
)
}
pub async fn wlx_panel_modify(
state: &mut WayVRClientState,
overlay: String,