You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I configured the following rules for the hyprland workspaces module.
I want some rules like the Chrome one to have precedence but currently the neovim rules always take precedence.
Could someone please explain why and how to structure these properly?
The rewrite rules are as far as i know just rules to add icons for specific applications next to your workspace numbers. Those icons get assigned to the applications based on one of 4 rules:
Config Naming
Categry
something
Vague
class<something>
Class-only
title<something>
Title only
class<something> title<something2>
Hybrid
Idea of what might work
They are not read in any specific order of how they appear in the config but from top to bottom within your "window-rewrite"={ ... };
Line 1: "title<.*nvim.*>" = "";
Line 43: "class<(Chromium)|(Chrome)>" = "";
You could try exchanging the block of applications searched for by their class<> with the ones searched for by title<>.
What could help understanding your issue better
xprop to find out WM_CLASS (string) of both the apps you want to have preceding eachother.
your entire config or config.jsonc whereever you add the entire module configuration.
what steps of resorting the icons you have tried and whether your changes generally made an effect on their sorting
I configured the following rules for the hyprland workspaces module.
I want some rules like the Chrome one to have precedence but currently the neovim rules always take precedence.
Could someone please explain why and how to structure these properly?
The text was updated successfully, but these errors were encountered: