From f1458b718284107926540618b0275f5a9acfcdd3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Av=C3=A9?= Date: Tue, 5 Dec 2023 15:02:32 +0100 Subject: [PATCH] Add rules for steam and screenshots --- hypr/hyprland.conf | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/hypr/hyprland.conf b/hypr/hyprland.conf index 39a09b6..f6d23ee 100644 --- a/hypr/hyprland.conf +++ b/hypr/hyprland.conf @@ -45,6 +45,8 @@ workspace=29,monitor:DP-2 windowrule = float,title:^(rofi)(.*)$ windowrule = center,title:^(rofi)(.*)$ windowrule = noborder,title:^(rofi)(.*)$ +windowrulev2 = stayfocused, title:^()$,class:^(steam)$ +windowrulev2 = minsize 1 1, title:^()$,class:^(steam)$ windowrule = noanim,waybar exec-once=waybar @@ -145,6 +147,7 @@ bind = ,XF86AudioPrev, exec, playerctl previous bind = $mainMod,XF86AudioMute, exec, playerctl play-pause bind = $mainMod,XF86AudioRaiseVolume, exec, playerctl next bind = $mainMod,XF86AudioLowerVolume, exec, playerctl previous +bind = , Print, exec, grim -g "$(slurp -d)" - | wl-copy # Move focus with mainMod + arrow keys bind = $mainMod, H, movefocus, l @@ -187,7 +190,6 @@ bind = $mainMod SHIFT, 9, exec, hyprsome movefocus 9 bind = $mainMod SHIFT, T, exec, hyprsome move-empty bind = $mainMod, T, exec, hyprsome focus-empty - # Scroll through existing workspaces with mainMod + scroll bind = $mainMod, TAB, workspace, m+1 bind = $mainMod SHIFT, TAB, workspace, m-1