Skip to content

Instantly share code, notes, and snippets.

Created June 21, 2012 23:39
Show Gist options
  • Save anonymous/2969281 to your computer and use it in GitHub Desktop.
Save anonymous/2969281 to your computer and use it in GitHub Desktop.
/home/woddf2/scripts/select-wm
#!/bin/bash
case "$1" in
dwm)
startx ~/scripts/xinitrc-dwm
;;
ratpoison)
exec startx ~/scripts/xinitrc-ratpoison
;;
fvwm)
exec startx ~/scripts/xinitrc-fvwm
;;
twm)
exec startx ~/scripts/xinitrc-twm
;;
*)
exec startx
;;
esac
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment