fix(home/hyprland): update windowrules for 0.46.0

Regex matches now are for an entire line, so remove anchors and wildcards where nescessary.
This commit is contained in:
Gabriel Fontes
2025-01-13 10:22:56 -03:00
parent 92ee4b2857
commit 31350ebf6e
2 changed files with 12 additions and 12 deletions
@@ -91,13 +91,13 @@ in {
new_window_takes_over_fullscreen = 2;
};
windowrulev2 = let
sweethome3d-tooltips = "title:^(win[0-9])$,class:^(com-eteks-sweethome3d-SweetHome3DBootstrap)$";
xembedsniproxy = "class:^()$,title:^()$,xwayland:1,floating:1";
steam = "title:^()$,class:^(steam)$";
steamGame = "class:^(steam_app_[0-9]*)$";
kdeconnect-pointer = "class:^(org.kdeconnect.daemon)$";
wineTray ="class:^(explorer.exe)$";
rsiLauncher ="class:^(rsi launcher.exe)$";
sweethome3d-tooltips = "title:win[0-9],class:com-eteks-sweethome3d-SweetHome3DBootstrap";
xembedsniproxy = "class:,title:,xwayland:1,floating:1";
steam = "title:,class:steam";
steamGame = "class:steam_app_[0-9]*";
kdeconnect-pointer = "class:org.kdeconnect.daemon";
wineTray ="class:explorer.exe";
rsiLauncher ="class:rsi launcher.exe";
in
[
"nofocus, ${sweethome3d-tooltips}"
@@ -127,7 +127,7 @@ in {
"tile, ${rsiLauncher}"
]
++ (lib.mapAttrsToList (
name: colors: "bordercolor ${rgba colors.primary "aa"} ${rgba colors.primary_container "aa"}, title:^(\\[${name}\\])"
name: colors: "bordercolor ${rgba colors.primary "aa"} ${rgba colors.primary_container "aa"}, title:\\[${name}\\].*"
)
remoteColorschemes);
layerrule = [
@@ -62,11 +62,11 @@ in {
"plugin:hyprbars:bar_color ${rgba config.colorscheme.colors.primary "ee"}, focus:1"
"plugin:hyprbars:title_color ${rgb config.colorscheme.colors.on_primary}, focus:1"
] ++ (lib.flatten (lib.mapAttrsToList (name: colors: [
"plugin:hyprbars:bar_color ${rgba colors.primary_container "dd"}, title:^(\\[${name}\\])"
"plugin:hyprbars:title_color ${rgb colors.on_primary_container}, title:^(\\[${name}\\])"
"plugin:hyprbars:bar_color ${rgba colors.primary_container "dd"}, title:\\[${name}\\].*"
"plugin:hyprbars:title_color ${rgb colors.on_primary_container}, title:\\[${name}\\].*"
"plugin:hyprbars:bar_color ${rgba colors.primary "ee"}, title:^(\\[${name}\\]), focus:1"
"plugin:hyprbars:title_color ${rgb colors.on_primary}, title:^(\\[${name}\\]), focus:1"
"plugin:hyprbars:bar_color ${rgba colors.primary "ee"}, title:\\[${name}\\].*, focus:1"
"plugin:hyprbars:title_color ${rgb colors.on_primary}, title:\\[${name}\\].*, focus:1"
]) remoteColorschemes));
};
};