diff --git a/home/features/desktop/hyprland.nix b/home/features/desktop/hyprland.nix index 965e882..90ecade 100644 --- a/home/features/desktop/hyprland.nix +++ b/home/features/desktop/hyprland.nix @@ -107,42 +107,48 @@ in { } ]; windowrule = [ - "float, class:file_progress" - "float, class:confirm" - "float, class:dialog" - "float, class:download" - "float, class:notification" - "float, class:error" - "float, class:splash" - "float, class:confirmreset" - "float, title:Open File" - "float, title:branchdialog" - "float, class:pavucontrol-qt" - "float, class:pavucontrol" - "fullscreen, class:wlogout" - "float, title:wlogout" - "fullscreen, title:wlogout" - "float, class:mpv" - "idleinhibit focus, class:mpv" - "opacity 1.0 override, class:mpv" - "float, title:^(Media viewer)$" - "float, title:^(Volume Control)$" - "float, title:^(Picture-in-Picture)$" - "float,title:^(floating-pomodoro)$" - "size 250 50, title:^(floating-pomodoro)$" - "move 12 100%-150,title:^(floating-pomodoro)$" - "pin,title:^(floating-pomodoro)$" - "float, initialTitle:.*streamlabs.com.*" - "pin, initialTitle:.*streamlabs.com.*" - "size 800 400, initialTitle:.*streamlabs.com.*" - "move 100%-820 102, initialTitle:.*alert-box.*" - "move 100%-820 512, initialTitle:.*chat-box.*" - "opacity 0.5 override, initialTitle:.*streamlabs.com.*" - "idleinhibit focus, initialTitle:.*streamlabs.com.*" - "noanim, initialTitle:.*streamlabs.com.*" - "noborder, initialTitle:.*streamlabs.com.*" - "noshadow, initialTitle:.*streamlabs.com.*" - "noblur, initialTitle:.*streamlabs.com.*" + # Floating dialogs + "match:class file_progress, float on" + "match:class confirm, float on" + "match:class dialog, float on" + "match:class download, float on" + "match:class notification, float on" + "match:class error, float on" + "match:class splash, float on" + "match:class confirmreset, float on" + "match:title Open File, float on" + "match:title branchdialog, float on" + "match:class pavucontrol-qt, float on" + "match:class pavucontrol, float on" + # wlogout + "match:class wlogout, fullscreen on" + "match:title wlogout, float on" + "match:title wlogout, fullscreen on" + # mpv + "match:class mpv, float on" + "match:class mpv, idle_inhibit focus" + "match:class mpv, opacity 1.0 override" + # Media/Volume/PiP + "match:title ^(Media viewer)$, float on" + "match:title ^(Volume Control)$, float on" + "match:title ^(Picture-in-Picture)$, float on" + # Pomodoro timer + "match:title ^(floating-pomodoro)$, float on" + "match:title ^(floating-pomodoro)$, size 250 50" + "match:title ^(floating-pomodoro)$, move 12 (monitor_h-150)" + "match:title ^(floating-pomodoro)$, pin on" + # Streamlabs overlays + "match:initial_title .*streamlabs.com.*, float on" + "match:initial_title .*streamlabs.com.*, pin on" + "match:initial_title .*streamlabs.com.*, size 800 400" + "match:initial_title .*alert-box.*, move 100%-820 102" + "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"; "$terminal" = "kitty"; diff --git a/home/m3tam3re/m3-ares.nix b/home/m3tam3re/m3-ares.nix index ec65da0..6603fe9 100644 --- a/home/m3tam3re/m3-ares.nix +++ b/home/m3tam3re/m3-ares.nix @@ -79,14 +79,14 @@ with lib; { "6, monitor:HDMI-A-1" ]; windowrule = [ - "workspace 1,class:dev.zed.Zed" - "workspace 1,class:Msty" - "workspace 2,class:(com.obsproject.Studio)" - "workspace 4,opacity 1.0, class:(brave-browser)" - "workspace 4,opacity 1.0, class:(vivaldi-stable)" - "fullscreen,class:^steam_app_\\d+$" - "workspace 5,class:^steam_app_\\d+$" - "idleinhibit focus, class:^steam_app_\\d+$" + "match:class dev.zed.Zed, workspace 1" + "match:class Msty, workspace 1" + "match:class ^(com.obsproject.Studio)$, workspace 2" + "match:class ^(brave-browser)$, workspace 4, opacity 1.0" + "match:class ^(vivaldi-stable)$, workspace 4, opacity 1.0" + "match:class ^steam_app_\\d+$, fullscreen on" + "match:class ^steam_app_\\d+$, workspace 5" + "match:class ^steam_app_\\d+$, idle_inhibit focus" ]; }; }; diff --git a/home/m3tam3re/m3-daedalus.nix b/home/m3tam3re/m3-daedalus.nix index bb96d77..370ca5d 100644 --- a/home/m3tam3re/m3-daedalus.nix +++ b/home/m3tam3re/m3-daedalus.nix @@ -85,14 +85,14 @@ in { "6, monitor:HDMI-A-1" ]; windowrule = [ - "workspace 1,class:dev.zed.Zed" - "workspace 1,class:Msty" - "workspace 2,class:(com.obsproject.Studio)" - "workspace 4,opacity 1.0, class:(brave-browser)" - "workspace 4,opacity 1.0, class:(vivaldi-stable)" - "fullscreen,class:^steam_app_\\d+$" - "workspace 5,class:^steam_app_\\d+$" - "idleinhibit focus, class:^steam_app_\\d+$" + "match:class dev.zed.Zed, workspace 1" + "match:class Msty, workspace 1" + "match:class ^(com.obsproject.Studio)$, workspace 2" + "match:class ^(brave-browser)$, workspace 4, opacity 1.0" + "match:class ^(vivaldi-stable)$, workspace 4, opacity 1.0" + "match:class ^steam_app_\\d+$, fullscreen on" + "match:class ^steam_app_\\d+$, workspace 5" + "match:class ^steam_app_\\d+$, idle_inhibit focus" ]; }; }; diff --git a/home/m3tam3re/m3-kratos.nix b/home/m3tam3re/m3-kratos.nix index 31531aa..689e69a 100644 --- a/home/m3tam3re/m3-kratos.nix +++ b/home/m3tam3re/m3-kratos.nix @@ -79,12 +79,12 @@ with lib; { ]; windowrule = [ - "workspace 1,class:dev.zed.Zed" - "workspace 1,class:Msty" - "workspace 2,class:(com.obsproject.Studio)" - "workspace 4,opacity 1.0, class:(brave-browser)" - "workspace 4,opacity 1.0, class:(vivaldi-stable)" - "idleinhibit focus, class:^steam_app_\\d+$" + "match:class dev.zed.Zed, workspace 1" + "match:class Msty, workspace 1" + "match:class ^(com.obsproject.Studio)$, workspace 2" + "match:class ^(brave-browser)$, workspace 4, opacity 1.0" + "match:class ^(vivaldi-stable)$, workspace 4, opacity 1.0" + "match:class ^steam_app_\\d+$, idle_inhibit focus" ]; }; };