You are not logged in.

#1 2022-03-23 18:09:58

ipyakuza
Member
Registered: 2013-06-24
Posts: 50

[SOLVED] i3-gaps config can't float certain windows

I am having a challenge trying to float certain windows.  In the config ~/.config/i3/config I have successfully used :

for_window [class="vlc"] floating enable

to float specific applications in this case vlc.  I am having challenges with certain applications as the available hooks in the i3 configuration guide (https://i3wm.org/docs/userguide.html) offer various command criteria hooks (class/instance/title/etc) https://i3wm.org/docs/userguide.html#command_criteria that I can specify a window by.  When it comes to certain windows like Firefox, Allacrity, or PCManFM for example, the window title is just the current username.  I can do some tweaks to rename the Allacrity window title to hook and float the window.  However programs like Thunar and PCManFM I can't seem to find a way to identify and float them by class or title.  Any recommendations for a better matching to allow window floating?  The majority I have as tiles and mapped to i3-layouts which is good.  There are just a handful of apps I want to float for various reasons.

Last edited by ipyakuza (2022-03-24 00:33:53)

Offline

#2 2022-03-23 18:48:37

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,302

Re: [SOLVED] i3-gaps config can't float certain windows

Are you aware of xprop from xorg-xprop to check which of these an actual window of an application in question exposes, so you can check for something that isn't being changed/can be regexed?

Last edited by V1del (2022-03-23 18:49:44)

Offline

#3 2022-03-24 00:30:46

ipyakuza
Member
Registered: 2013-06-24
Posts: 50

Re: [SOLVED] i3-gaps config can't float certain windows

Thanks!  Yes, I just started using xprop to dump the class details: WM_CLASS(STRING)="instance", "Class"  and it looks like I am getting a better match using multiple command criteria rather than just title or class alone.  Using this:

for_window [instance="thunar" class="Thunar"] floating enable

Seems to work well.  Thanks!

Last edited by ipyakuza (2022-03-24 00:32:17)

Offline

Board footer

Powered by FluxBB