Skip to content

Instantly share code, notes, and snippets.

@workmad3
Created January 21, 2014 13:15
Show Gist options
  • Save workmad3/8539805 to your computer and use it in GitHub Desktop.
Save workmad3/8539805 to your computer and use it in GitHub Desktop.
#!/bin/sh
#This file is managed by chef for <%= node[:fqdn] %>
#Local modifications will be overwritten
#To customise your xinitrc, place config files in your own .xinitrc.d directory
if [ -d <%= @global_conf_dir %> ]; then
for f in <% @global_conf_dir %>/*; do
[ -x "$f" ] && . "$f"
done
unset f
fi
if [ -d $HOME/.xinitrc.d ]; then
for f in $HOME/.xinitrc.d/*; do
[ -x "$f" ] && . "$f"
done
unset f
fi
exec <%= @window_manager %>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment