zeroxoneafour / polonium

Autotile manager for Plasma 6
https://zeroxoneafour.github.io/polonium/
MIT License
909 stars 18 forks source link

Add rotate layout shortcut #173

Open pjhfggij opened 2 months ago

pjhfggij commented 2 months ago

Before you make the issue, confirm that

Describe the bug

I've finally found out how to "rotate layout", but there is no shortcut available to invoke it: image none of these shortcut do anything: image

I should have waited one more month to make it a one year anniversary :)

To reproduce

  1. try any of these built-in shortcuts
  2. nothing happens

Expected behavior

Layout rotates same as after switching the toggle in the first screenshot and confirming new settings

Log output


Jun 02 16:04:53 host3 kwin_wayland[2148]: file:///usr/share/kwin/scripts/polonium/contents/code/main.mjs:2753: TypeError: Value is undefined and could not be converted to an object
Jun 02 16:05:36 host3 kwin_wayland[2148]: file:///usr/share/kwin/scripts/polonium/contents/code/main.mjs:2753: TypeError: Value is undefined and could not be converted to an object
zeroxoneafour commented 2 months ago

None of those shortcuts are from polonium, more than likely they are from Bismuth. Polonium shortcuts fall under the KWin category and are all prefixed with Polonium. Also, it appears the shortcut does not exist in the first place. I'll get around to it someday maybe.

pjhfggij commented 2 months ago

Oh I see, that makes sense. Sure, a shortcut would be nice - yes, bismuth had it and I've used it all the time.