change xinitrc to use debug build / enable RUST_BACKTRACE

This commit is contained in:
NoOneBtw 2021-05-01 22:48:48 +02:00
parent 09548522ff
commit cbbecdfe8f
2 changed files with 4 additions and 3 deletions

View file

@ -50,7 +50,7 @@ fn init_logger() {
let config = Config::builder()
.appender(Appender::builder().build("stdout", Box::new(stdout)))
.appender(Appender::builder().build("logfile", Box::new(logfile)))
//.appender(Appender::builder().build("logfile", Box::new(logfile)))
.build(
Root::builder()
.appender("stdout")

View file

@ -2,5 +2,6 @@
/usr/bin/xset b off
/usr/bin/xsetroot -solid darkslategrey
/usr/bin/feh --bg-fill "/mnt/storage/rust/wm/starship.jpg"
exec /mnt/storage/rust/wm/target/release/wm
/usr/bin/feh --bg-fill "./starship.jpg"
export RUST_BACKTRACE=1
exec ./target/debug/wm >& &HOME/.portlights.log