Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save meskarune/2969290 to your computer and use it in GitHub Desktop.
Save meskarune/2969290 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