The i3 FAQ has migrated to https://github.com/i3/i3/discussions. All content here is read-only.
Ask Your Question
0

Can't get for_window to work with Audacious

asked 2013-05-08 18:36:16 +0000

Matthew gravatar image

I'm trying to have Audacious float when opened, however it doesn't.

Here's what I have in my config:

for_window [class="audacious"] floating enable

I think it might be because the window title has the current song before it followed by Audacious, so maybe I just need a wildcard character?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2013-05-08 20:05:22 +0000

vandannen gravatar image

Make sure that you match the correct class for the specified program. You can use xprop in order to check for the properties of a window.

As specified in the user guide: "class: Compares the window class (the second part of WM_CLASS)". So, in this case, you need to use capital letters or match case-insensitive:

for_window [class="Audacious"] floating enable
or
for_window [class="(?i)audacious"] floating enable
edit flag offensive delete link more

Comments

Thanks, it was case sensitive! Didn't realize that.

Matthew gravatar imageMatthew ( 2013-05-08 20:10:00 +0000 )edit

Question Tools

Stats

Asked: 2013-05-08 18:36:16 +0000

Seen: 236 times

Last updated: May 08 '13