]> git.donarmstrong.com Git - x_base.git/blobdiff - .config/i3/build_config.sh
build i3 configuration and optionally include hostname information
[x_base.git] / .config / i3 / build_config.sh
diff --git a/.config/i3/build_config.sh b/.config/i3/build_config.sh
new file mode 100755 (executable)
index 0000000..85bc8ee
--- /dev/null
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+cd ~/.config/i3/;
+
+if [ -e config_base ]; then
+    cat config_base > config;
+fi;
+
+if [ -e config_$(hostname) ]; then
+    cat config_$(hostname) >> config;
+fi;