refactor status bar and xinit for my desktop