Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Window rules not working #2495

Open
sladkkr opened this issue Oct 13, 2024 · 0 comments
Open

Window rules not working #2495

sladkkr opened this issue Oct 13, 2024 · 0 comments
Labels

Comments

@sladkkr
Copy link

sladkkr commented Oct 13, 2024

Describe the bug
Maybe I'm making some obvious mistakes but window rules are not working in my Wayfire session.
Here are the snippets:

[core]
plugins = animate command foreign-toplevel invert oswitch place shortcuts-inhibit autostart xdg-activation fast-switcher focus-request preserve-output input-method-v1 window-rules vswitch

[window-rules]
telegram = on create if app_id is "org.telegram.desktop" then assign_workspace 0 1
spotify = on create if title is "Spotify Free" then assign_workspace 0 1
firefox = on create if app_id is "firefox" then assign_workspace 1 0
firefox_pip_on_top = on create if title is "Obraz w obrazie" then set always_on_top
firefox_pip_size = on create if title is "Obraz w obrazie" then resize 480 360
firefox_pip_position = on create if title is "Obraz w obrazie" then move 3360 1800
firefox_pip_unmaximize = on create if title is "Obraz w obrazie" then unmaximize

To Reproduce

  1. Add window rules to a Wayfire configuration.
  2. Start the application having declared window rules.

Expected behavior
Application respects window rules, like workspace_assign, resize and move.

Wayfire version
0.9.0 for Nixpkgs (using the NixOS Unstable)

@sladkkr sladkkr added the bug label Oct 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant