forge-ext / forge

Forge - Tiling and Window Manager for Gnome-Shell
GNU General Public License v3.0
898 stars 48 forks source link

feat: Implement tiling exceptions #174

Open lfoscari opened 1 year ago

lfoscari commented 1 year ago

Describe the bug/issue Gnome console kgx is always floating, no matter the rules set in windows.json.

To Reproduce Install Gnome 43.2 and try using Gnome console, it keeps floating even after removing the default rule on the terminal.

Version Information

  1. Void Linux
  2. Forge 61
  3. Gnome shell 43.2

Monitor Setup

  1. 1 x 1080p

Additional Information This is the content of my windown.json file

> cat $HOME/.config/forge/config/windows.json
{
  "overrides": [
    { "wmClass": "org.gnome.Shell.Extensions", "wmTitle": "Forge Settings", "mode": "float" },
    { "wmClass": "jetbrains-toolbox", "mode": "float" },
    { "wmClass": "jetbrains-goland", "wmTitle": "splash", "mode": "float" },
    { "wmClass": "jetbrains-webstorm", "wmTitle": "splash", "mode": "float" },
    { "wmClass": "jetbrains-phpstorm", "wmTitle": "splash", "mode": "float" },
    { "wmClass": "jetbrains-datagrip", "wmTitle": "splash", "mode": "float" },
    { "wmClass": "jetbrains-rubymine", "wmTitle": "splash", "mode": "float" },
    { "wmClass": "jetbrains-idea", "wmTitle": "splash", "mode": "float" },
    { "wmClass": "Com.github.amezin.ddterm", "mode": "float" },
    { "wmClass": "Com.github.donadigo.eddy", "mode": "float" },
    { "wmClass": "Conky", "mode": "float" },
    { "wmClass": "Gnome-initial-setup", "mode": "float" },
    { "wmClass": "gnome-calculator", "mode": "float" },
    { "wmClass": "Guake", "mode": "float" },
    { "wmClass": "zoom", "mode": "float" }
  ]
}

I tried adding the rule { "wmClass": "kgx", "mode": "tile" }, but it doesn't work.

Thank you in advance.

jmmaranan commented 1 year ago

Hi @lfoscari - thanks for the report. We do not have always tile exception (opposite of floating exceptions) implemented yet.

MKrabs commented 1 year ago

What about a whitelist / blacklisting feature? And you can toggle the rules of a windows with the default shortcut of super + C ?