Compare commits
No commits in common. "c7278a910a0238a53f23fe9a0ae881802a4bcb31" and "e97053be2dd43bf374348a04b1cdc08b43e29779" have entirely different histories.
c7278a910a
...
e97053be2d
|
@ -38,19 +38,12 @@ pub fn login(
|
||||||
env.append(&mut session.env.clone());
|
env.append(&mut session.env.clone());
|
||||||
|
|
||||||
// Activate the generation before handing control back to greetd
|
// Activate the generation before handing control back to greetd
|
||||||
// Command::new(format!(
|
Command::new(format!(
|
||||||
// "su - -c \"{}/activate\" {}",
|
"su - -c \"{}/activate\" {}",
|
||||||
// session.generation, user.name
|
session.generation, user.name
|
||||||
// ))
|
))
|
||||||
Command::new("su")
|
.status()
|
||||||
.args([
|
.expect("Failed to activate environment");
|
||||||
"-",
|
|
||||||
"-c",
|
|
||||||
&format!("{}/activate", session.generation),
|
|
||||||
&user.name,
|
|
||||||
])
|
|
||||||
.status()
|
|
||||||
.expect("Failed to activate environment");
|
|
||||||
|
|
||||||
Request::StartSession { cmd, env }.write_to(&mut stream)?;
|
Request::StartSession { cmd, env }.write_to(&mut stream)?;
|
||||||
}
|
}
|
||||||
|
|
|
@ -195,8 +195,8 @@ impl App {
|
||||||
})
|
})
|
||||||
.with_bold_dim_effect(false)
|
.with_bold_dim_effect(false)
|
||||||
.with_rain_density(tui_rain::RainDensity::Relative { sparseness: 60 })
|
.with_rain_density(tui_rain::RainDensity::Relative { sparseness: 60 })
|
||||||
.with_rain_speed(tui_rain::RainSpeed::Absolute { speed: 0.004 })
|
.with_rain_speed(tui_rain::RainSpeed::Absolute { speed: 0.002 })
|
||||||
.with_rain_speed_variance(4000.0)
|
.with_rain_speed_variance(10000.0)
|
||||||
.with_tail_lifespan(Duration::from_millis(2500))
|
.with_tail_lifespan(Duration::from_millis(2500))
|
||||||
.with_color(Color::Green)
|
.with_color(Color::Green)
|
||||||
.with_head_color(Color::White)
|
.with_head_color(Color::White)
|
||||||
|
|
Loading…
Reference in New Issue