aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.m46
-rwxr-xr-xconfigure6
2 files changed, 11 insertions, 1 deletions
diff --git a/Makefile.m4 b/Makefile.m4
index 884f663..51d6e90 100644
--- a/Makefile.m4
+++ b/Makefile.m4
@@ -50,6 +50,7 @@ m4_ifelse(DT_MYCLI, `yes', `$(HOME_DIR)/.my.cnf') m4_dnl
m4_ifelse(DT_MYCLI, `yes', `$(HOME_DIR)/.myclirc') m4_dnl
m4_ifelse(DT_NEWSBOAT, `yes', `$(HOME_DIR)/.newsboat') m4_dnl
m4_ifelse(DT_ALACRITTY, `yes', `$(HOME_DIR)/.config/alacritty') m4_dnl
+m4_ifelse(DT_I3, `yes', `$(HOME_DIR)/.config/i3') m4_dnl
$(M4_SYSFILE): $(CONFIG_FILE)
@@ -90,6 +91,11 @@ $(HOME_DIR)/.config/foot: linux/foot
$(call create_dotfile_symlink,linux/foot,.config/foot)
')m4_dnl
+m4_ifelse(DT_I3, `yes', `m4_dnl
+$(HOME_DIR)/.config/i3: linux/i3
+ $(call create_dotfile_symlink,linux/i3,.config/i3)
+
+')m4_dnl
m4_ifelse(DT_POWERLINE, `yes', `m4_dnl
$(HOME_DIR)/.config/powerline: linux/powerline_config
$(call create_dotfile_symlink,linux/powerline_config,.config/powerline)
diff --git a/configure b/configure
index 13e1fa4..c701133 100755
--- a/configure
+++ b/configure
@@ -76,6 +76,7 @@ fi
: "${DT_BSPWM:=no}"
: "${DT_INPUTRC:=yes}"
: "${DT_VIM:=yes}"
+: "${DT_I3:=yes}"
radiolist_on() {
local value="$1"
@@ -207,7 +208,8 @@ FEATURES="$(dialog --stdout \
23 "Sxhkd" $(checklist_on "${DT_SXHKD}") \
24 "Bspwm" $(checklist_on "${DT_BSPWM}") \
25 "Inputrc (usefull for bash, less, read etc)" $(checklist_on "${DT_INPUTRC}") \
- 26 "Vim" $(checklist_on "${DT_VIM}"))"
+ 26 "Vim" $(checklist_on "${DT_VIM}") \
+ 27 "i3wm" $(checklist_on "${DT_I3}"))"
if [ "$?" -eq 1 ]; then exit 0; fi
DT_TOOLS=no
@@ -235,6 +237,7 @@ DT_SXHKD=no
DT_BSPWM=no
DT_INPUTRC=no
DT_VIM=no
+DT_I3=no
for choice in ${FEATURES}; do
case $choice in
@@ -263,6 +266,7 @@ for choice in ${FEATURES}; do
24) DT_BSPWM=yes;;
25) DT_INPUTRC=yes;;
26) DT_VIM=yes;;
+ 27) DT_I3=yes;;
esac
done