From debd4a7b2ef0f78d75bfbe15a8cb5a56396ed406 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Thu, 24 Nov 2022 12:13:33 -0500 Subject: [PATCH] Include customizations file if it exists. --- i38.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/i38.sh b/i38.sh index 02368b6..3767484 100755 --- a/i38.sh +++ b/i38.sh @@ -382,4 +382,12 @@ else echo 'exec /usr/lib/notification-daemon-1.0/notification-daemon' echo 'exec orca' fi) + +# If you want to add personal customizations to i3, add them in ${i3Path}/customizations +# It is not overwritten with the config file is recreated. +$(if [[ -r "${i3Path}/customizations" ]]; then + echo "include \"${i3Path}/customizations\"" +else + echo "# Rerun the ${0##*/} script after creating the customizations file so it is detected." +fi) EOF