esjeon / krohnkite

A dynamic tiling extension for KWin
MIT License
1.69k stars 71 forks source link

Open a Window in floating mode #151

Open BelkaDev opened 3 years ago

BelkaDev commented 3 years ago

Context

Not all programs have the --class attribute to specify the startup WM_CLASS

Process

  1. Set a custom rule to have the "floating" class as floating.
  2. Run the program and update the class using xdotool/xprop. xdotool search --name "konsole" set_window --class "floating"

Expected result

Window updates to floating mode.

Current result

Window is not floating.

oezingle commented 3 years ago

You can give certain classes exceptions, or toggle tiling with a shortuct

Tiling Exceptions: KDE Settings > Window Management > KWin Scripts > Krohnkite > Rules

Shortcut: KDE Settings > Shortcuts > Kwin > Krohnkite - set floating