I'm on Manjaro with i3. I'm trying to make certain key bindings launch stuff in floating, while others don't. I've tried several things so far:
1. Straight up floating toggle
with bindsym
# in i3/config
bindsym $mod+p exec $term -e python
bindsym $mod+Shift+p exec $term -e python; floating toggle
Unfortunately, this launches Python in normal (split/tabbed/stacking) mode and whatever I was focused on before launching Python.
2. Put every Python launched by bindsym
in floating
# in i3/config
for_window [title="python"] floating toggle
bindsym $mod+p exec $term -e python
This actually works to automatically launch Python in floating mode! However, any and every Python window launched with bindsym
in floating mode...
3. Custom window title
# in i3/config
for_window [title="[.*]_floating"] floating toggle
bindsym $mod+p exec --title "python_floating" $term -e python
Unfortunately, exec
doesn't seem to have the --title
flag so the bindsym
doesn't work at all.
I've tried reading the documentation and man i3
but haven't found anything that helps so far. This doesn't seem to have been solved. The 3 similar posts I've found googling [1] [2] [3] look like my solution #2;
Given my suggested solutions which haven't totally solved this problem, how can I launch stuff where only certain bindsym
s launch in floating mode?