fix(hyprland): update window rules to new syntax
- Replace old windowrule format with new match: prefix syntax - Fix property names: initialTitle → initial_title - Fix effect names: idleinhibit → idle_inhibit, noanim → no_anim, etc. - Replace noborder with decorate off (correct effect) - Fix pomodoro move expression to use monitor_h variable - Apply fixes across all host configs (m3-ares, m3-kratos, m3-daedalus)
This commit is contained in:
@@ -107,42 +107,48 @@ in {
|
|||||||
}
|
}
|
||||||
];
|
];
|
||||||
windowrule = [
|
windowrule = [
|
||||||
"float, class:file_progress"
|
# Floating dialogs
|
||||||
"float, class:confirm"
|
"match:class file_progress, float on"
|
||||||
"float, class:dialog"
|
"match:class confirm, float on"
|
||||||
"float, class:download"
|
"match:class dialog, float on"
|
||||||
"float, class:notification"
|
"match:class download, float on"
|
||||||
"float, class:error"
|
"match:class notification, float on"
|
||||||
"float, class:splash"
|
"match:class error, float on"
|
||||||
"float, class:confirmreset"
|
"match:class splash, float on"
|
||||||
"float, title:Open File"
|
"match:class confirmreset, float on"
|
||||||
"float, title:branchdialog"
|
"match:title Open File, float on"
|
||||||
"float, class:pavucontrol-qt"
|
"match:title branchdialog, float on"
|
||||||
"float, class:pavucontrol"
|
"match:class pavucontrol-qt, float on"
|
||||||
"fullscreen, class:wlogout"
|
"match:class pavucontrol, float on"
|
||||||
"float, title:wlogout"
|
# wlogout
|
||||||
"fullscreen, title:wlogout"
|
"match:class wlogout, fullscreen on"
|
||||||
"float, class:mpv"
|
"match:title wlogout, float on"
|
||||||
"idleinhibit focus, class:mpv"
|
"match:title wlogout, fullscreen on"
|
||||||
"opacity 1.0 override, class:mpv"
|
# mpv
|
||||||
"float, title:^(Media viewer)$"
|
"match:class mpv, float on"
|
||||||
"float, title:^(Volume Control)$"
|
"match:class mpv, idle_inhibit focus"
|
||||||
"float, title:^(Picture-in-Picture)$"
|
"match:class mpv, opacity 1.0 override"
|
||||||
"float,title:^(floating-pomodoro)$"
|
# Media/Volume/PiP
|
||||||
"size 250 50, title:^(floating-pomodoro)$"
|
"match:title ^(Media viewer)$, float on"
|
||||||
"move 12 100%-150,title:^(floating-pomodoro)$"
|
"match:title ^(Volume Control)$, float on"
|
||||||
"pin,title:^(floating-pomodoro)$"
|
"match:title ^(Picture-in-Picture)$, float on"
|
||||||
"float, initialTitle:.*streamlabs.com.*"
|
# Pomodoro timer
|
||||||
"pin, initialTitle:.*streamlabs.com.*"
|
"match:title ^(floating-pomodoro)$, float on"
|
||||||
"size 800 400, initialTitle:.*streamlabs.com.*"
|
"match:title ^(floating-pomodoro)$, size 250 50"
|
||||||
"move 100%-820 102, initialTitle:.*alert-box.*"
|
"match:title ^(floating-pomodoro)$, move 12 (monitor_h-150)"
|
||||||
"move 100%-820 512, initialTitle:.*chat-box.*"
|
"match:title ^(floating-pomodoro)$, pin on"
|
||||||
"opacity 0.5 override, initialTitle:.*streamlabs.com.*"
|
# Streamlabs overlays
|
||||||
"idleinhibit focus, initialTitle:.*streamlabs.com.*"
|
"match:initial_title .*streamlabs.com.*, float on"
|
||||||
"noanim, initialTitle:.*streamlabs.com.*"
|
"match:initial_title .*streamlabs.com.*, pin on"
|
||||||
"noborder, initialTitle:.*streamlabs.com.*"
|
"match:initial_title .*streamlabs.com.*, size 800 400"
|
||||||
"noshadow, initialTitle:.*streamlabs.com.*"
|
"match:initial_title .*alert-box.*, move 100%-820 102"
|
||||||
"noblur, initialTitle:.*streamlabs.com.*"
|
"match:initial_title .*chat-box.*, move 100%-820 512"
|
||||||
|
"match:initial_title .*streamlabs.com.*, opacity 0.5 override"
|
||||||
|
"match:initial_title .*streamlabs.com.*, idle_inhibit focus"
|
||||||
|
"match:initial_title .*streamlabs.com.*, no_anim on"
|
||||||
|
"match:initial_title .*streamlabs.com.*, decorate off"
|
||||||
|
"match:initial_title .*streamlabs.com.*, no_shadow on"
|
||||||
|
"match:initial_title .*streamlabs.com.*, no_blur on"
|
||||||
];
|
];
|
||||||
"$mainMod" = "SUPER";
|
"$mainMod" = "SUPER";
|
||||||
"$terminal" = "kitty";
|
"$terminal" = "kitty";
|
||||||
|
|||||||
@@ -79,14 +79,14 @@ with lib; {
|
|||||||
"6, monitor:HDMI-A-1"
|
"6, monitor:HDMI-A-1"
|
||||||
];
|
];
|
||||||
windowrule = [
|
windowrule = [
|
||||||
"workspace 1,class:dev.zed.Zed"
|
"match:class dev.zed.Zed, workspace 1"
|
||||||
"workspace 1,class:Msty"
|
"match:class Msty, workspace 1"
|
||||||
"workspace 2,class:(com.obsproject.Studio)"
|
"match:class ^(com.obsproject.Studio)$, workspace 2"
|
||||||
"workspace 4,opacity 1.0, class:(brave-browser)"
|
"match:class ^(brave-browser)$, workspace 4, opacity 1.0"
|
||||||
"workspace 4,opacity 1.0, class:(vivaldi-stable)"
|
"match:class ^(vivaldi-stable)$, workspace 4, opacity 1.0"
|
||||||
"fullscreen,class:^steam_app_\\d+$"
|
"match:class ^steam_app_\\d+$, fullscreen on"
|
||||||
"workspace 5,class:^steam_app_\\d+$"
|
"match:class ^steam_app_\\d+$, workspace 5"
|
||||||
"idleinhibit focus, class:^steam_app_\\d+$"
|
"match:class ^steam_app_\\d+$, idle_inhibit focus"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -85,14 +85,14 @@ in {
|
|||||||
"6, monitor:HDMI-A-1"
|
"6, monitor:HDMI-A-1"
|
||||||
];
|
];
|
||||||
windowrule = [
|
windowrule = [
|
||||||
"workspace 1,class:dev.zed.Zed"
|
"match:class dev.zed.Zed, workspace 1"
|
||||||
"workspace 1,class:Msty"
|
"match:class Msty, workspace 1"
|
||||||
"workspace 2,class:(com.obsproject.Studio)"
|
"match:class ^(com.obsproject.Studio)$, workspace 2"
|
||||||
"workspace 4,opacity 1.0, class:(brave-browser)"
|
"match:class ^(brave-browser)$, workspace 4, opacity 1.0"
|
||||||
"workspace 4,opacity 1.0, class:(vivaldi-stable)"
|
"match:class ^(vivaldi-stable)$, workspace 4, opacity 1.0"
|
||||||
"fullscreen,class:^steam_app_\\d+$"
|
"match:class ^steam_app_\\d+$, fullscreen on"
|
||||||
"workspace 5,class:^steam_app_\\d+$"
|
"match:class ^steam_app_\\d+$, workspace 5"
|
||||||
"idleinhibit focus, class:^steam_app_\\d+$"
|
"match:class ^steam_app_\\d+$, idle_inhibit focus"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -79,12 +79,12 @@ with lib; {
|
|||||||
];
|
];
|
||||||
|
|
||||||
windowrule = [
|
windowrule = [
|
||||||
"workspace 1,class:dev.zed.Zed"
|
"match:class dev.zed.Zed, workspace 1"
|
||||||
"workspace 1,class:Msty"
|
"match:class Msty, workspace 1"
|
||||||
"workspace 2,class:(com.obsproject.Studio)"
|
"match:class ^(com.obsproject.Studio)$, workspace 2"
|
||||||
"workspace 4,opacity 1.0, class:(brave-browser)"
|
"match:class ^(brave-browser)$, workspace 4, opacity 1.0"
|
||||||
"workspace 4,opacity 1.0, class:(vivaldi-stable)"
|
"match:class ^(vivaldi-stable)$, workspace 4, opacity 1.0"
|
||||||
"idleinhibit focus, class:^steam_app_\\d+$"
|
"match:class ^steam_app_\\d+$, idle_inhibit focus"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user