dotfiles/home/bin/build-i3-config

17 lines
665 B
Plaintext
Raw Normal View History

2020-03-26 18:31:43 +00:00
#!/bin/bash
2021-01-12 04:29:38 +00:00
DF_PATH=${HOME}/dotfiles/.config/i3
2020-03-26 18:31:43 +00:00
CONFIG_PATH=${DF_PATH}/conf.d
DST_FILE=${DF_PATH}/config
echo "# This file is generated with the \`build-i3-config\` command" > ${DST_FILE}
echo "# Configuration has been broken up into the \`conf.d\` directory" >> ${DST_FILE}
cat ${CONFIG_PATH}/base.conf >> ${DST_FILE}
cat ${CONFIG_PATH}/gaps.conf >> ${DST_FILE}
cat ${CONFIG_PATH}/workspace.conf >> ${DST_FILE}
cat ${CONFIG_PATH}/i3bar.conf >> ${DST_FILE}
cat ${CONFIG_PATH}/window-classes.conf >> ${DST_FILE}
cat ${CONFIG_PATH}/layout-keybinds.conf >> ${DST_FILE}
cat ${CONFIG_PATH}/keybinds.conf >> ${DST_FILE}
cat ${CONFIG_PATH}/autostart.conf >> ${DST_FILE}