disable confusing UI sections
This commit is contained in:
@@ -55,7 +55,7 @@
|
|||||||
<SideButton id="btn_side_apps" src_builtin="dashboard/apps.svg" tooltip="APPLICATIONS" tooltip_side="right" />
|
<SideButton id="btn_side_apps" src_builtin="dashboard/apps.svg" tooltip="APPLICATIONS" tooltip_side="right" />
|
||||||
<SideButton id="btn_side_games" src_builtin="dashboard/games.svg" tooltip="GAMES" tooltip_side="right" />
|
<SideButton id="btn_side_games" src_builtin="dashboard/games.svg" tooltip="GAMES" tooltip_side="right" />
|
||||||
<SideButton id="btn_side_monado" src_builtin="dashboard/monado.svg" tooltip="MONADO_RUNTIME" tooltip_side="right" />
|
<SideButton id="btn_side_monado" src_builtin="dashboard/monado.svg" tooltip="MONADO_RUNTIME" tooltip_side="right" />
|
||||||
<SideButton id="btn_side_processes" src_builtin="dashboard/window.svg" tooltip="PROCESSES" tooltip_side="right" />
|
<!-- SideButton id="btn_side_processes" src_builtin="dashboard/window.svg" tooltip="PROCESSES" tooltip_side="right" /-->
|
||||||
<rectangle height="2" color="#FFFFFF33" width="~side_sprite_size" />
|
<rectangle height="2" color="#FFFFFF33" width="~side_sprite_size" />
|
||||||
<SideButton id="btn_side_settings" src_builtin="dashboard/settings.svg" tooltip="SETTINGS" tooltip_side="right" />
|
<SideButton id="btn_side_settings" src_builtin="dashboard/settings.svg" tooltip="SETTINGS" tooltip_side="right" />
|
||||||
</rectangle>
|
</rectangle>
|
||||||
|
|||||||
@@ -16,9 +16,9 @@
|
|||||||
<MenuButton id="btn_apps" icon="dashboard/apps.svg" translation="APPLICATIONS" />
|
<MenuButton id="btn_apps" icon="dashboard/apps.svg" translation="APPLICATIONS" />
|
||||||
<MenuButton id="btn_games" icon="dashboard/games.svg" translation="GAMES" />
|
<MenuButton id="btn_games" icon="dashboard/games.svg" translation="GAMES" />
|
||||||
<MenuButton id="btn_monado" icon="dashboard/monado.svg" text="Monado" />
|
<MenuButton id="btn_monado" icon="dashboard/monado.svg" text="Monado" />
|
||||||
<MenuButton id="btn_processes" icon="dashboard/window.svg" translation="PROCESSES" />
|
<!--MenuButton id="btn_processes" icon="dashboard/window.svg" translation="PROCESSES" /-->
|
||||||
<MenuButton id="btn_settings" icon="dashboard/settings.svg" translation="SETTINGS" />
|
<MenuButton id="btn_settings" icon="dashboard/settings.svg" translation="SETTINGS" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</elements>
|
</elements>
|
||||||
</layout>
|
</layout>
|
||||||
|
|||||||
@@ -43,13 +43,13 @@
|
|||||||
<RadioBox translation="APP_LAUNCHER.ASPECT.SEMI_TALL" value="SemiTall" tooltip="2:3" />
|
<RadioBox translation="APP_LAUNCHER.ASPECT.SEMI_TALL" value="SemiTall" tooltip="2:3" />
|
||||||
<RadioBox translation="APP_LAUNCHER.ASPECT.TALL" value="Tall" tooltip="9:16" />
|
<RadioBox translation="APP_LAUNCHER.ASPECT.TALL" value="Tall" tooltip="9:16" />
|
||||||
</RadioGroup>
|
</RadioGroup>
|
||||||
<Separator />
|
<!-- Separator /> // saved settings override this, so let's hide it for now
|
||||||
<label translation="APP_LAUNCHER.POS_TITLE" />
|
<label translation="APP_LAUNCHER.POS_TITLE" />
|
||||||
<RadioGroup id="radio_pos" flex_direction="row" gap="16">
|
<RadioGroup id="radio_pos" flex_direction="row" gap="16">
|
||||||
<RadioBox translation="APP_LAUNCHER.POS.FLOATING" value="Floating" tooltip="APP_LAUNCHER.POS.FLOATING_HELP" />
|
<RadioBox translation="APP_LAUNCHER.POS.FLOATING" value="Floating" tooltip="APP_LAUNCHER.POS.FLOATING_HELP" />
|
||||||
<RadioBox translation="APP_LAUNCHER.POS.ANCHORED" value="Anchored" tooltip="APP_LAUNCHER.POS.ANCHORED_HELP" checked="1" />
|
<RadioBox translation="APP_LAUNCHER.POS.ANCHORED" value="Anchored" tooltip="APP_LAUNCHER.POS.ANCHORED_HELP" checked="1" />
|
||||||
<RadioBox translation="APP_LAUNCHER.POS.STATIC" value="Static" tooltip="APP_LAUNCHER.POS.STATIC_HELP" />
|
<RadioBox translation="APP_LAUNCHER.POS.STATIC" value="Static" tooltip="APP_LAUNCHER.POS.STATIC_HELP" />
|
||||||
</RadioGroup>
|
</RadioGroup -->
|
||||||
<Separator />
|
<Separator />
|
||||||
<div flex_direction="row" justify_content="space_between" gap="16">
|
<div flex_direction="row" justify_content="space_between" gap="16">
|
||||||
<CheckBox id="cb_autostart" translation="APP_LAUNCHER.AUTOSTART" />
|
<CheckBox id="cb_autostart" translation="APP_LAUNCHER.AUTOSTART" />
|
||||||
|
|||||||
@@ -19,8 +19,8 @@ use wlx_common::{audio, dash_interface::BoxDashInterface, timestep::Timestep};
|
|||||||
use crate::{
|
use crate::{
|
||||||
assets,
|
assets,
|
||||||
tab::{
|
tab::{
|
||||||
Tab, TabType, apps::TabApps, games::TabGames, home::TabHome, monado::TabMonado, processes::TabProcesses,
|
apps::TabApps, games::TabGames, home::TabHome, monado::TabMonado, processes::TabProcesses, settings::TabSettings,
|
||||||
settings::TabSettings,
|
Tab, TabType,
|
||||||
},
|
},
|
||||||
util::{
|
util::{
|
||||||
popup_manager::{MountPopupParams, PopupManager, PopupManagerParams},
|
popup_manager::{MountPopupParams, PopupManager, PopupManagerParams},
|
||||||
@@ -394,10 +394,10 @@ impl<T: 'static> Frontend<T> {
|
|||||||
);
|
);
|
||||||
|
|
||||||
// "Processes" side button
|
// "Processes" side button
|
||||||
self.tasks.handle_button(
|
// self.tasks.handle_button(
|
||||||
&self.state.fetch_component_as::<ComponentButton>("btn_side_processes")?,
|
// &self.state.fetch_component_as::<ComponentButton>("btn_side_processes")?,
|
||||||
FrontendTask::SetTab(TabType::Processes),
|
// FrontendTask::SetTab(TabType::Processes),
|
||||||
);
|
// );
|
||||||
|
|
||||||
// "Settings" side button
|
// "Settings" side button
|
||||||
self.tasks.handle_button(
|
self.tasks.handle_button(
|
||||||
|
|||||||
@@ -66,14 +66,14 @@ impl<T> TabHome<T> {
|
|||||||
let btn_apps = state.fetch_component_as::<ComponentButton>("btn_apps")?;
|
let btn_apps = state.fetch_component_as::<ComponentButton>("btn_apps")?;
|
||||||
let btn_games = state.fetch_component_as::<ComponentButton>("btn_games")?;
|
let btn_games = state.fetch_component_as::<ComponentButton>("btn_games")?;
|
||||||
let btn_monado = state.fetch_component_as::<ComponentButton>("btn_monado")?;
|
let btn_monado = state.fetch_component_as::<ComponentButton>("btn_monado")?;
|
||||||
let btn_processes = state.fetch_component_as::<ComponentButton>("btn_processes")?;
|
//let btn_processes = state.fetch_component_as::<ComponentButton>("btn_processes")?;
|
||||||
let btn_settings = state.fetch_component_as::<ComponentButton>("btn_settings")?;
|
let btn_settings = state.fetch_component_as::<ComponentButton>("btn_settings")?;
|
||||||
|
|
||||||
let tasks = &mut frontend.tasks;
|
let tasks = &mut frontend.tasks;
|
||||||
tasks.handle_button(&btn_apps, FrontendTask::SetTab(TabType::Apps));
|
tasks.handle_button(&btn_apps, FrontendTask::SetTab(TabType::Apps));
|
||||||
tasks.handle_button(&btn_games, FrontendTask::SetTab(TabType::Games));
|
tasks.handle_button(&btn_games, FrontendTask::SetTab(TabType::Games));
|
||||||
tasks.handle_button(&btn_monado, FrontendTask::SetTab(TabType::Monado));
|
tasks.handle_button(&btn_monado, FrontendTask::SetTab(TabType::Monado));
|
||||||
tasks.handle_button(&btn_processes, FrontendTask::SetTab(TabType::Processes));
|
//tasks.handle_button(&btn_processes, FrontendTask::SetTab(TabType::Processes));
|
||||||
tasks.handle_button(&btn_settings, FrontendTask::SetTab(TabType::Settings));
|
tasks.handle_button(&btn_settings, FrontendTask::SetTab(TabType::Settings));
|
||||||
|
|
||||||
Ok(Self {
|
Ok(Self {
|
||||||
|
|||||||
@@ -536,7 +536,7 @@ impl DashInterface<AppState> for DashInterfaceLive {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
const CLIENT_NAME_BLACKLIST: [&str; 2] = ["wayvr", "libmonado"];
|
const CLIENT_NAME_BLACKLIST: [&str; 3] = ["wayvr", "libmonado", "oscavmgr"];
|
||||||
|
|
||||||
#[cfg(feature = "openxr")]
|
#[cfg(feature = "openxr")]
|
||||||
fn monado_get_brightness(monado: &mut libmonado::Monado) -> Option<f32> {
|
fn monado_get_brightness(monado: &mut libmonado::Monado) -> Option<f32> {
|
||||||
|
|||||||
Reference in New Issue
Block a user