https://bugs.kde.org/show_bug.cgi?id=436062

            Bug ID: 436062
           Summary: Ability to match by active window screen in Custom
                    Shortcuts / Window Actions
           Product: systemsettings
           Version: 5.21.4
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: kcm_khotkeys
          Assignee: k...@michael-jansen.biz
          Reporter: ash...@linuxcomp.ru
                CC: plasma-b...@kde.org
  Target Milestone: ---

In System Settings -> Shortcuts -> Custom Shortcuts when you create a new
Window Action, then when you specify window properties in a list, currently you
can only match by title, class, role and type.

I would like the ability to also match by a screen the window belongs to.

My use case is the following. I have dell monitors, and I like to change
monitor's presets depending on application. I am trying to create rules, that
kinda replicates the dell display manager application. If I launch a game on
first monitor, I want to send a command to first monitor to switch to Game
mode. But when I drag the game window to second monitor, I want to send command
to the second monitor to switch to game preset and send command to first
monitor to switch to standard preset. So I need to know on which monitor the
window match happened.

What do you think about that idea? Is it a wanted feature there, or I need to
find another way to determine that info?

Additional info:
In Window Management -> Window Rules you can see that there you can set some
properties to windows that match some other specified properties. The screen
property there is (currently) to override a screen the window will be moved to,
but not to match a rule by a screen at which window is currently located.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.21.4
KDE Frameworks Version: 5.81.0
Qt Version: 5.15.2

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to