From ac5044074e01f518ae3c837dfad0fa3fc0719962 Mon Sep 17 00:00:00 2001 From: Jesse Morgan Date: Sat, 16 Mar 2013 10:31:35 -0700 Subject: Initial commit of some shell scripts --- make_i3_config | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100755 make_i3_config (limited to 'make_i3_config') 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 + +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 -- cgit v1.2.3