Advertisement
Dobbie03

Untitled

Sep 2nd, 2018
164
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.82 KB | None | 0 0
  1. numlockx &
  2. xrdb ~/.Xresources
  3. urxvtd -q -f -o &
  4. rxset s 60 60
  5. xset m 1/1
  6. xset r rate 200 30
  7.  
  8. session=${1:-openbox}
  9.  
  10. # source files in /etc/X11/xinit/xinitrc.d
  11. if [ -d /etc/X11/xinit/xinitrc.d ]; then
  12. for f in /etc/X11/xinit/xinitrc.d/*; do
  13. [ -x "$f" ] && . "$f"
  14. done
  15. unset f
  16. fi
  17.  
  18. # this must be before the 'exec' command
  19. # it sources ~/.xprofile for additional settings
  20. [ -f ~/.xprofile ] && . ~/.xprofile
  21.  
  22. # start the session
  23. case $session in
  24. i3|i3wm)
  25. exec i3
  26. ;;
  27. bsp|bspwm)
  28. exec bspwm
  29. ;;
  30. dwm|dwm)
  31. exec dwm
  32. ;;
  33. awesome)
  34. exec awesome
  35. ;;
  36. xfce|xfce4)
  37. exec startxfce4
  38. ;;
  39. openbox|openbox-session)
  40. exec openbox-session
  41. ;;
  42. *)
  43. exec $1
  44. ;;
  45. esac
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement