diff --git a/install-dwm.sh b/install-dwm.sh
index 087e5e9da7f4a3dce918100191982ae20252c2e6..e4a2bf1832695291c0b460e109787d163a00fffd 100755
--- a/install-dwm.sh
+++ b/install-dwm.sh
@@ -3,14 +3,16 @@ echo 'Create xinitrc for dwm'
 echo '#keyboard config
 setxkbmap fr
 
+dbus-update-activation-environment --systemd DBUS_SESSION_BUS_ADDRESS DISPLAY XAUTHORITY &
+
 # start some nice programs
-if [ -d /etc/X11/xinit/xinitrc.d ] ; then
-    for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
-        # shellcheck source=/dev/null
-        [ -x "$f" ] && . "$f"
-    done
-    unset f
-fi
+# if [ -d /etc/X11/xinit/xinitrc.d ] ; then
+#     for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
+#         # shellcheck source=/dev/null
+#         [ -x "$f" ] && . "$f"
+#     done
+#     unset f
+# fi
 
 # Statusbar loop
 while true; do
diff --git a/tui.sh b/tui.sh
new file mode 100755
index 0000000000000000000000000000000000000000..49e43cc9c496165204200db7834c3794de106e66
--- /dev/null
+++ b/tui.sh
@@ -0,0 +1,46 @@
+#!/bin/bash
+
+distro=""
+yn=""
+
+# ncurses tui menu
+distro=$(whiptail --inputbox "What GNU/Linux distribution are you using ? Enter 'Debian' or 'Arch'" 8 78 --title "GNU/Linux Distribution" 3>&1 1>&2 2>&3)
+
+if [ "$distro" == "Debian" ]; then
+    sudo apt update
+
+    yn=$(whiptail --yesno "Install and setup DWM ?" 8 78 --title "DWM Installation" 3>&1 1>&2 2>&3)
+    if [ "$yn" == 0 ]; then
+        # dwm dependencies
+        sudo apt install build-essential libx11-dev libxft-dev libxinerama-dev libfreetype6-dev libfontconfig1-dev\
+                xbacklight alsa-utils
+        ./install-dwm.sh
+        ./fix-screen-tearing.sh
+    fi
+
+    yn=$(whiptail --yesno "Install recommended programs ?" 8 78 --title "Programs Installation" 3>&1 1>&2 2>&3)
+    if [ "$yn" == 0 ]; then
+        # programs
+        sudo apt install network-manager chromium newsboat thunderbird libreoffice pandoc texlive-full xss-lock slock xbacklight neofetch ranger htop
+        sudo systemctl enable --now NetworkManager
+        
+        yn=$(whiptail --yesno "Install VScode ?" 8 78 --title "VScode Installation" 3>&1 1>&2 2>&3)
+        if [ "$yn" == 0 ]; then
+            # vscode
+            curl https://go.microsoft.com/fwlink/?LinkID=760868 && sudo apt install ./code*.deb
+        fi
+
+        yn=$(whiptail --yesno "Install Mullvad VPN ?" 8 78 --title "Mullvad Installation" 3>&1 1>&2 2>&3)
+        if [ "$yn" == 0 ]; then
+            # mullvad
+            curl https://mullvad.net/download/app/deb/latest/ && sudo apt install ./Mullvad*.deb && sudo systemctl enable --now mullvad-daemon
+        fi
+    fi
+
+elif [ "$distro" == "Arch" ]; then
+    sudo pacman -Sy
+    sudo pacman -S base-devel libx11 libxft libxinerama freetype2 fontconfig
+else
+    echo "Non recognized distribution"
+    echo "Quitting"
+fi