fix: extend redbear-full DRM greeter wait
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
@@ -207,6 +207,9 @@ impl GreeterDaemon {
|
||||
command.env("XCURSOR_THEME", "Pop");
|
||||
command.env("XKB_CONFIG_ROOT", "/usr/share/X11/xkb");
|
||||
command.env("WAYLAND_DISPLAY", &self.wayland_display);
|
||||
if let Ok(wait_seconds) = env::var("REDBEAR_DRM_WAIT_SECONDS") {
|
||||
command.env("REDBEAR_DRM_WAIT_SECONDS", wait_seconds);
|
||||
}
|
||||
}
|
||||
|
||||
fn activate_vt(&self, vt: u32) -> Result<(), String> {
|
||||
|
||||
@@ -303,6 +303,9 @@ fn build_environment(account: &Account, args: &Args, runtime_dir: &Path) -> BTre
|
||||
if let Some(path) = env_value(&["QML2_IMPORT_PATH"]) {
|
||||
values.insert(String::from("QML2_IMPORT_PATH"), path);
|
||||
}
|
||||
if let Some(wait_seconds) = env_value(&["REDBEAR_DRM_WAIT_SECONDS"]) {
|
||||
values.insert(String::from("REDBEAR_DRM_WAIT_SECONDS"), wait_seconds);
|
||||
}
|
||||
|
||||
match args.mode {
|
||||
LaunchMode::Session => {
|
||||
|
||||
Reference in New Issue
Block a user