dotfiles

My dotfiles used for LARBS
Log | Files | Refs | README | LICENSE

.xinitrc (748B)


      1 #!/usr/bin/env sh
      2 
      3 # xinitrc runs automatically when you run startx.
      4 
      5 # There are some small but important commands that need to be run when we start
      6 # the graphical environment. I keep those commands in ~/.xprofile because that
      7 # file is run automatically if someone uses a display manager (login screen)
      8 # and so they are needed there. To prevent doubling up commands, I source them
      9 # here with the line below.
     10 
     11 [ -f ~/.xprofile ] && . ~/.xprofile
     12 
     13 # Your default LARBS WM is determined in your `~/.profile` on login.  Here we
     14 # run the proper command to run when the graphical environment starts.
     15 
     16 case "$LARBSWM" in
     17 	dwm) while :; do
     18 		ssh-agent dwm || break
     19 		done ;;
     20 	i3) exec i3 ;;
     21 	*) echo "No valid LARBS window manager detected." ;;
     22 esac