summaryrefslogtreecommitdiff
path: root/.config/hypr
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-02-27 21:52:26 +0100
committerThomas Voss <mail@thomasvoss.com> 2024-02-27 21:52:26 +0100
commit10e7e5cdcd0a9fad266ef1e210587a68e8b951dc (patch)
tree5ca2949399e14372c16c9ec889ab9bdf99dddd98 /.config/hypr
parente7117eeb8a5f489972255910669b35d2373d0a66 (diff)
Hyprland: Open manual pages in floating windows
Diffstat (limited to '.config/hypr')
-rw-r--r--.config/hypr/hyprland.conf.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/.config/hypr/hyprland.conf.in b/.config/hypr/hyprland.conf.in
index ca67df1..2df8959 100644
--- a/.config/hypr/hyprland.conf.in
+++ b/.config/hypr/hyprland.conf.in
@@ -179,3 +179,8 @@ bind = $modkey, mouse_up, workspace, e-1
# Move/resize windows with modkey + LMB/RMB and dragging
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)$