KSmanis / kwin-move-window-to-center

A simple KWin script that introduces a KDE Global Shortcut for centering the active window in the current screen.
GNU General Public License v2.0
61 stars 15 forks source link

unmaximize and center #4

Open Lupccs opened 4 years ago

Lupccs commented 4 years ago

Hi! thank you for your script, it's super useful! I only noticed that, if the window is maximized and I Launch the script, it doesn't work. Could you do that? Thanks anyway!

KSmanis commented 4 years ago

Hey there @Lupccs, thank you for bringing this up. This is definitely doable, but I am a bit sceptic about the semantics of this action. What would be the expected result in your opinion?

  1. Unmaximize the active window to its former size and then center it?
  2. Unmaximize the active window to a predetermined size (e.g., half the screen area) and then center it?
  3. Something else?
Lupccs commented 4 years ago

the way I use this script, I'd love to have it in a predetermined size, like 60% of the area, or something like that Thanks anyway!

KSmanis commented 4 years ago

I see. Thanks for the feedback!