|
1 | 1 | { |
2 | 2 | wayland.windowManager.hyprland.settings = { |
3 | | - windowrulev2 = [ |
| 3 | + windowrule = [ |
4 | 4 | # Fullscreen should inhibit idle |
5 | | - "idleinhibit fullscreen, class:^(*)$" |
6 | | - "idleinhibit fullscreen, title:^(*)$" |
7 | | - "idleinhibit fullscreen, fullscreen:1" |
| 5 | + "match:fullscreen true, idle_inhibit fullscreen" |
8 | 6 |
|
9 | 7 | # Picture-in-Picture for any windows tagged pip |
10 | | - "float, tag:pip" |
11 | | - "pin, tag:pip" |
12 | | - "keepaspectratio, tag:pip" |
13 | | - "noborder, tag:pip" |
14 | | - "plugin:hyprbars:nobar, tag:pip" |
15 | | - "size 480 270, tag:pip" |
16 | | - "minsize 240 135, tag:pip" |
17 | | - "maxsize 960 540, tag:pip" |
18 | | - "move 100%-490 100%-280, tag:pip" |
| 8 | + "match:tag pip, float on" |
| 9 | + "match:tag pip, pin on" |
| 10 | + "match:tag pip, keep_aspect_ratio on" |
| 11 | + "match:tag pip, decorate off" |
| 12 | + # "match:tag pip, plugin:hyprbars:nobar" |
19 | 13 |
|
20 | | - # make pop-up file dialogs floating, centred, and pinned |
21 | | - "tag +dialog, title:(Progress|Save File|Save As)" |
22 | | - # "tag +dialog, title:(Open|Progress|Save File|Save As)" |
23 | | - "tag +dialog, class:(xdg-desktop-portal-gtk)" |
24 | | - "float, tag:dialog" |
25 | | - "center, tag:dialog" |
26 | | - "pin, tag:dialog" |
27 | | - "noborder, tag:dialog" |
| 14 | + "match:tag pip, size 480 270" |
| 15 | + "match:tag pip, min_size 240 135" |
| 16 | + "match:tag pip, max_size 960 540" |
| 17 | + "match:tag pip, move 100%-490 100%-280" |
| 18 | + |
| 19 | + # Make pop-up file dialogs floating, centred, and pinned |
| 20 | + "match:title (Progress|Save File|Save As), tag +dialog" |
| 21 | + "match:class xdg-desktop-portal-gtk, tag +dialog" |
| 22 | + |
| 23 | + "match:tag dialog, float on" |
| 24 | + "match:tag dialog, center on" |
| 25 | + "match:tag dialog, pin on" |
| 26 | + "match:tag dialog, decorate off" |
28 | 27 | ]; |
29 | 28 | }; |
30 | 29 | } |
0 commit comments