Add WM_NAME #3
Replies: 2 comments 4 replies
-
Hi, thank you! Very cool that you're interested. Are you familiar with the script polywins, where they had the options: show="window_class"
#show="window_classname"
#show="window_title" So am I right that you're after the The reason why I removed it was because there are (common) cases where the window title can be extremely long, and my bar would have space for like 2 titles at once without heavy truncation. Example:
I had a personal feeling there's no sensible use case for this option, and was waiting for someone to tell me that they do prefer it -- thus, here you are 😄 Important to know: in the wmctrl source code there's already a function to get window title: https://github.com/Conservatory/wmctrl/blob/master/main.c#L1384 Would work as is as long as Then we need to decide, should Former means you could even use both (potentially interesting idea), latter means the config should be exposed to What do you think? Also - if you were thinking about something other than |
Beta Was this translation helpful? Give feedback.
-
Slightly off-topic: Also polywins had the option for Example
The first string from that is the |
Beta Was this translation helpful? Give feedback.
-
Hi!
First of all, very cool project!
I think it would be nice to display the window name instead of the class, to differentiate similar windows.
What do you think about it?
If you are OK with this, I could start working on it.
Beta Was this translation helpful? Give feedback.
All reactions