by mg · 3y ago · 0 comments
I would love to be able to move the current window around with - say - ctrl+meta+uparrow or something.
I dabbled with KWin scripts and successfully got one working which centers the current window:
https://github.com/no-gravity/kwin-move-window-to-center
Now I couldn't live without this script anymore!
But somehow I was never able to reproduce it for a second script. Everytime I try to make a copy of this one, modify it and add a shortcut - it does not work.
Maybe there is a much easier solution, just using desktop agnostic linux commands?
But this is about a different task: I want to move the current window 10px up when I press ctrl+meta+uparrow.
You can also assign a shortcut to get to this point (in Shortcuts -> Global Shortcuts -> System Settings -> Move Window).
I don't think you can get what you're asking for without writing a tiny script and setting it to be invoked with your keyboard shortcut.