forge icon indicating copy to clipboard operation
forge copied to clipboard

feat: Implement tiling exceptions

Open lfoscari opened this issue 3 years ago • 4 comments

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.

lfoscari avatar Jan 08 '23 14:01 lfoscari

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

jmmaranan avatar Jan 08 '23 16:01 jmmaranan

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

MKrabs avatar Aug 28 '23 08:08 MKrabs