This forum has been archived. All content is frozen. Please use KDE Discuss instead.

is there a way to auto-shade window on focus?

Tags: None
(comma "," separated)
icycle
Registered Member
Posts
3
Karma
0
OS
I'm wondering if there's a way to have a window automatically shade when it loses focus, and unshade when it comes back into focus. Use case is a chat window that I want to keep hidden except when I focus the window. Alt-Tab keeps it open, minimizing or shading (through a KB shortcut I created) is extra effort each time. Chat windows are set to appear on all desktops, so hiding it behind the currently active window is not a good option.

Thanks-
User avatar
Hans
Administrator
Posts
3304
Karma
24
OS
Sounds like something that will be possible with KWin scripting. You can read a bit about it here: http://rohanprabhu.com/?tag=kwin_scripting


Problem solved? Please click on "Accept this answer" below the post with the best answer to mark your topic as solved.

10 things you might want to do in KDE | Open menu with Super key | Mouse shortcuts
User avatar
TheBlackCat
Registered Member
Posts
2945
Karma
8
OS
There isn't, but you can set it to unshade on hover, which should be basically the same in practice.


Man is the lowest-cost, 150-pound, nonlinear, all-purpose computer system which can be mass-produced by unskilled labor.
-NASA in 1965
icycle
Registered Member
Posts
3
Karma
0
OS
TheBlackCat wrote:There isn't, but you can set it to unshade on hover, which should be basically the same in practice.


Thanks, I am now using this with success. I assumed hover meant a mouse needed to be involved, but it functions as desired with alt-tab switching too.

Excellent that there is no scripting needed, but great that there's an option like that.

Thanks all.


Bookmarks



Who is online

Registered users: abc72656, Bing [Bot], daret, Google [Bot], lockheed, Sogou [Bot], Yahoo [Bot]