From 63058c70e7b682aac4b2812777501a5b849790aa Mon Sep 17 00:00:00 2001 From: Patrick Date: Fri, 26 Jul 2024 16:28:50 +0200 Subject: [PATCH] fix(hyprland): bitwarden fload script fix(steam): make windows floating --- users/common/graphical/wayland/hyprland.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/users/common/graphical/wayland/hyprland.nix b/users/common/graphical/wayland/hyprland.nix index b2df82c..1e9a50a 100644 --- a/users/common/graphical/wayland/hyprland.nix +++ b/users/common/graphical/wayland/hyprland.nix @@ -35,7 +35,9 @@ # hyprctl dispatch resizewindowpixel exact 20% 40%,address:0x$window_id # hyprctl dispatch movewindowpixel exact 40% 30%,address:0x$window_id - hyprctl --batch "dispatch togglefloating address:0x$window_id ; dispatch resizewindowpixel exact "512 768",address:0x$window_id ; dispatch movewindowpixel exact "3800 -400",address:0x$window_id" + hyprctl dispatch togglefloating address:0x$window_id + hyprctl dispatch resizewindowpixel exact "512 768",address:0x$window_id + hyprctl dispatch movewindowpixel exact "3800 -400",address:0x$window_id fi ;; esac @@ -197,7 +199,9 @@ in { xwayland.force_zero_scaling = true; windowrulev2 = [ "immediate, class:^(cs2)$" + # apex legends "immediate, class:^(steam_app_1172470)$" + "float, class:^(steam)$, title:^(?!S)" "workspace 2,class:^(firefox)$" "workspace 3,class:^(thunderbird)$" "workspace 4,class:^(bottles)$"