.xinitrc 823 B

123456789101112131415161718192021222324
  1. #!/bin/sh
  2. # xinitrc runs automatically when you run startx.
  3. # There are some small but important commands that need to be run when we start
  4. # the graphical environment. I keep those commands in ~/config/xprofile because
  5. # that file is run automatically if someone uses a display manager (login
  6. # screen) and so they are needed there. To prevent doubling up commands, I
  7. # source them here with the line below.
  8. [ -f "${XDG_CONFIG_HOME:-$HOME/.config}/xprofile" ] && . "${XDG_CONFIG_HOME:-$HOME/.config}/xprofile"
  9. # Your default LARBS WM is determined in your `~/.profile` on login. Here we
  10. # run the proper command to run when the graphical environment starts.
  11. # exec mcwm
  12. # exec cwm
  13. # exec dwm
  14. # exec sowm
  15. # exec nowm
  16. # exec frankenwm
  17. # exec monsterwm
  18. exec dbus-launch --autolaunch=$(cat /var/lib/dbus/machine-id) dwm