Opening a programme in a floating window in i3

i3window-managementwindow-manager

I want to open a programme in a floating window. I tried
exec emacsclient -c ; floating enable, but that made the
window that was active before float, not the new window.

Best Answer

This is how i did it for my Galculator application:

~/.config/i3/config

for_window [class="Galculator" instance="galculator"] floating enable

To find out what goes in your class="..." and instance="...", type xprop in terminal, then click on the window you want to float. You will find the info somewhere on the bottom under WM_CLASS(STRING)="galculator", "Galculator". Instance is the left one and the class right.

Related Question