commit bd2f9c3d2825ef05d2dac567e1c5b9f2cd74a4c9
parent 73b99ab613ae22e836a58d3b7f96ad4749c4d180
Author: deurzen <m.deurzen@tum.de>
Date: Sat, 13 Mar 2021 16:48:15 +0100
changes spawn script call
Diffstat:
1 file changed, 5 insertions(+), 6 deletions(-)
diff --git a/src/core/model.rs b/src/core/model.rs
@@ -173,13 +173,12 @@ impl<'a> Model<'a> {
});
if cfg!(not(debug_assertions)) {
+ let nonblocking = concat!("$HOME/.config/", WM_NAME!(), "/nonblocking_autostart &");
+ let blocking = concat!("$HOME/.config/", WM_NAME!(), "/blocking_autostart");
+
info!("executing startup scripts");
- Util::spawn_shell(concat!("$HOME/.config/", WM_NAME!(), "/blocking_autostart"));
- Util::spawn_shell(concat!(
- "$HOME/.config/",
- WM_NAME!(),
- "/nonblocking_autostart &"
- ));
+ Util::spawn_shell(nonblocking);
+ Util::spawn_shell(blocking);
}
model