mirror of
https://gitlab.com/gabmus/envision.git
synced 2025-07-30 04:38:44 +00:00
chore: format
This commit is contained in:
parent
637bac2ae3
commit
00a6a3ddbf
4 changed files with 5 additions and 4 deletions
|
@ -27,6 +27,7 @@ pub mod env_var_descriptions;
|
|||
pub mod file_builders;
|
||||
pub mod file_utils;
|
||||
pub mod func_runner;
|
||||
pub mod gpu_profile;
|
||||
pub mod log_level;
|
||||
pub mod log_parser;
|
||||
pub mod paths;
|
||||
|
@ -37,7 +38,6 @@ pub mod runner_pipeline;
|
|||
pub mod steamvr_utils;
|
||||
pub mod ui;
|
||||
pub mod xr_devices;
|
||||
pub mod gpu_profile;
|
||||
|
||||
fn restore_steam_xr_files() {
|
||||
let active_runtime = get_current_active_runtime();
|
||||
|
|
|
@ -110,7 +110,7 @@ pub fn get_exec_prefix() -> String {
|
|||
pub fn get_ipc_file_path(xrservice_type: &XRServiceType) -> String {
|
||||
format!(
|
||||
"{runtime}/{xrservice}_comp_ipc",
|
||||
runtime=get_xdg_runtime_dir(),
|
||||
runtime = get_xdg_runtime_dir(),
|
||||
xrservice = match xrservice_type {
|
||||
XRServiceType::Monado => "monado",
|
||||
XRServiceType::Wivrn => "wivrn",
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
use crate::{
|
||||
file_utils::get_writer,
|
||||
paths::{
|
||||
data_monado_path, data_opencomposite_path, get_data_dir, BWRAP_SYSTEM_PREFIX, SYSTEM_PREFIX, get_ipc_file_path,
|
||||
data_monado_path, data_opencomposite_path, get_data_dir, get_ipc_file_path,
|
||||
BWRAP_SYSTEM_PREFIX, SYSTEM_PREFIX,
|
||||
},
|
||||
};
|
||||
use serde::{Deserialize, Serialize};
|
||||
|
|
|
@ -6,7 +6,7 @@ use super::steam_launch_options_box::{SteamLaunchOptionsBox, SteamLaunchOptionsB
|
|||
use crate::config::Config;
|
||||
use crate::constants::APP_NAME;
|
||||
use crate::file_utils::mount_has_nosuid;
|
||||
use crate::gpu_profile::{get_gpu_power_profile, GpuPowerProfile, get_set_vr_pow_prof_cmd};
|
||||
use crate::gpu_profile::{get_gpu_power_profile, get_set_vr_pow_prof_cmd, GpuPowerProfile};
|
||||
use crate::profile::{LighthouseDriver, Profile};
|
||||
use crate::steamvr_utils::chaperone_info_exists;
|
||||
use crate::ui::app::{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue