diff options
author | Jesse Morgan <jesse@jesterpm.net> | 2013-03-16 10:31:35 -0700 |
---|---|---|
committer | Jesse Morgan <morganjm@amazon.com> | 2013-03-16 10:31:35 -0700 |
commit | ac5044074e01f518ae3c837dfad0fa3fc0719962 (patch) | |
tree | 0a08e08fdda7d75bc9857b20c2fdb51f19bd10a1 /make_i3_config |
Initial commit of some shell scripts
Diffstat (limited to 'make_i3_config')
-rwxr-xr-x | make_i3_config | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/make_i3_config b/make_i3_config new file mode 100755 index 0000000..8377b14 --- /dev/null +++ b/make_i3_config @@ -0,0 +1,26 @@ +#!/bin/sh + +## This script is used to assemble the various components of my i3 config at login. +## Written by Jesse Morgan <jesse@jesterpm.net> + +CONFIGD=$HOME/.config/i3/config.d +AUTOSTARTD=$HOME/.config/i3/autostart.d + +echo "###" +echo "### Do not edit this file!" +echo "###" +echo "### This file is automatically generated from the files in config.d" +echo "### and autostart.d. Edit those files instead." +echo "###\n" + +# Get files from config.d +for file in $CONFIGD/*; do + echo "### $file" + cat $file +done + +# Get files from autostart.d +for file in $AUTOSTARTD/*; do + echo "### $file" + cat $file +done |