disabled mod clients2, fixed xinitrc

This commit is contained in:
user 2021-11-19 04:30:36 +01:00
parent e924e8efc0
commit 9f77d5f570
3 changed files with 10 additions and 5 deletions

5
Makefile Normal file
View file

@ -0,0 +1,5 @@
run:
startx ./xinitrc :0 vt2
run-root:
sudo startx ./xinitrc :0 vt2

View file

@ -8,7 +8,7 @@ use log4rs::{
use state::WMConfig;
mod clients;
mod clients2;
//mod clients2;
mod state;
mod util;
mod xlib;

View file

@ -1,8 +1,8 @@
#!/bin/sh
/usr/bin/xset b off
/usr/bin/xsetroot -solid darkslategrey
/usr/bin/feh --bg-fill "/mnt/storage/rust/wm/starship.jpg"
xset b off
xsetroot -solid darkslategrey
feh --bg-fill "/mnt/storage/rust/wm/starship.jpg"
xset r rate 250 30
export RUST_BACKTRACE=1
exec /mnt/storage/rust/wm/target/release/wm >& /home/user/.local/portlights.log
exec /mnt/storage/code/rust/wm/target/release/wm 2>&1 /home/user/.local/portlights.log