I just wrote a blog post to cover this topic. Melkor33's solution works, but it's not very clean, IMO (to revert to plain Plasma, you have to go in and edit a configuration file); I believe my approach is more "correct", even if it is a smidge more work.
If you've already got i3 installed (I recommend i3-gaps), it basically boils down to two steps: 1) configure i3 to be Plasma-friendly, and 2) configure your display manager (login screen) to add an option for Plasma + i3.
Configure i3 to be Plasma-friendly
Add the following lines to ~/.config/i3/config
:
# Don’t treat Plasma pop-ups as full-sized windows
for_window [class="plasmashell"] floating enable
# Don’t spawn an empty window for the Plasma Desktop
for_window [title="Desktop — Plasma"] kill, floating enable, border none
Configure your display manager to add an option for Plasma + i3
I use sddm (default on Debian), so if you're using another display manager (cat /etc/X11/default-display-manager
), you'll have to look into the configuration options.
# Create a plasma + i3 launcher script
$ echo -e "#!/bin/sh\n\nKDEWM=/usr/bin/i3 startkde" > /usr/local/bin/startkde-i3
$ sudo chown root.staff /usr/local/bin/startkde-i3
$ sudo chmod 755 /usr/local/bin/startkde-i3
# Create a custom desktop sessions directory
$ sudo cp -a /usr/share/xsessions /usr/local/share/xsessions
# Create a new desktop session file for plasma + i3
$ cp /usr/local/share/xsessions/plasma.desktop /usr/local/share/xsessions/plasma-i3.desktop
$ sudo sed -i 's|/usr/bin/startkde|/usr/local/bin/startkde-i3|' /usr/share/xsessions/plasma-i3.desktop
$ sudo sed -i '/Name.*=/ s/$/-i3/' /usr/share/xsessions/plasma-i3.desktop
# Configure sddm (the login screen) to use our new desktop sessions directory
$ echo -e "\n\n[X11]\nSessionDir=/usr/local/share/xsessions" | sudo tee -a /etc/sddm.conf