fuhsjr00 / bug.n

Tiling Window Manager for Windows
GNU General Public License v3.0
3.35k stars 212 forks source link

Config_rule for Skype #205

Open jimpriest opened 5 years ago

jimpriest commented 5 years ago

Anyone have any config_rules for Skype?

There are two windows I'm trying to manage.

The main Skype window - this seems to work: Config_rule=CommunicatorMainWindowClass;Skype for Business ;;1;1;128;1;1;0;

However if someone texts me - or I text them it opens another window Config_rule=LyncTabFrameHostWindowClass;Smith, Joe;;1;1;128;0;0;0; Config_rule=LyncTabFrameHostWindowClass;Jane, Mary;;1;1;128;0;0;0;

And regardless of what I do to try to make this generic the chat window still goes full screen: Config_rule=Lync;.*;;0;0;0;1;1;0;

rastkov commented 5 years ago

This is my Skype for Business rule:

Config_rule=CommunicatorMainWindowClass;Skype for Business ;;1;0;0;0;0;0;

This allows me to use the window in tiling mode and I don't have any issues with tailing conversations as well. Given that you have "Lync" in your rule, I'm guessing that you're using some older Lync client?

However, the past few days I'm having a problem myself with regular Skype. Can't seem to find a rule that works. The information about the Skype window:

ID: 0x10456
class:  Chrome_WidgetWin_1
title:  Skype
process:    Skype.exe [7116]
style:  0x170F0000
metrics:    x: -1920, y: 12, width: 1920, height: 1068
tags:   4

Config_rule=Chrome_WidgetWin_1;Skype;;1;1;4;0;0;0;maximize

The window won't tile at all. In a dual monitor setup and tiling, once another widow is opened Skype shows up on another screen. On a single monitor it shows up on all tags. I did try the same rule as I have for Skype for Business, but it doesn't seem to behave the same.

joten commented 5 years ago

There are already rules in place for Chrome_WidgetWin_1, which may interfer in this case:

Config_rule_#12  := "Chrome_WidgetWin_1;.*;;1;0;0;0;1;0;"
Config_rule_#13  := "Chrome_WidgetWin_1;.*;Window_isPopup;0;0;0;1;1;0;"

There are used for Google Chrome Tabs.

Regarding Lync you may use the following rule; please keep in mind, that bug.n uses regular expressions in the first two fields of a rule to identify a window: Config_rule=LyncTabFrameHostWindowClass;.*;;1;1;128;0;0;0; or Config_rule=Lync.*;.*;;1;1;128;0;0;0;