diff options
Diffstat (limited to '.config/hypr/hyprland.conf.in')
| -rw-r--r-- | .config/hypr/hyprland.conf.in | 25 |
1 files changed, 17 insertions, 8 deletions
diff --git a/.config/hypr/hyprland.conf.in b/.config/hypr/hyprland.conf.in index f2701f3..0698903 100644 --- a/.config/hypr/hyprland.conf.in +++ b/.config/hypr/hyprland.conf.in @@ -192,11 +192,20 @@ bindm = $modkey, mouse:272, movewindow bindm = $modkey, mouse:273, resizewindow # Open manpages in floating windows -windowrulev2 = float, class:^(org\.pwmt\.zathura)$ -windowrulev2 = size 50% 90%, class:^(org\.pwmt\.zathura)$ -windowrulev2 = center, class:^(org\.pwmt\.zathura)$ - -# Open calculator in a floating window -windowrulev2 = float, class:^(qalculate-gtk)$ -windowrulev2 = size 50% 50%, class:^(qalculate-gtk)$ -windowrulev2 = center, class:^(qalculate-gtk)$ +windowrule { + name = centered-pdfs + match:class = ^(org\.pwmt\.zathura)$ + + float = yes + center = yes + size = 50%, 90% +} + +windowrule { + name = centered-calculator + match:class = qalculate-gtk + + float = yes + center = yes + size = 50%, 50% +} |