diff options
| author | JaKooLit <jimmielovejay.com> | 2023-11-19 12:31:12 +0900 |
|---|---|---|
| committer | JaKooLit <jimmielovejay.com> | 2023-11-19 12:31:31 +0900 |
| commit | d7573ff038168a825e7c9af65cd04a28cdd12a67 (patch) | |
| tree | c1f10d4e6f42344ae2e293e3ad71206402d67395 /config | |
| parent | fb614caa72259511682ee8d7651532a783d45ec8 (diff) | |
some added window rules for firefox
Diffstat (limited to 'config')
| -rw-r--r-- | config/hypr/configs/WindowRules.conf | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/config/hypr/configs/WindowRules.conf b/config/hypr/configs/WindowRules.conf index 36c8d827..cc90e6ee 100644 --- a/config/hypr/configs/WindowRules.conf +++ b/config/hypr/configs/WindowRules.conf @@ -22,8 +22,6 @@ windowrule = center,^(pavucontrol) # Make sure to delete this line if uncommen t # windowrule v2 -windowrulev2 = float, class:^([Vv]iewnior)$ - windowrulev2 = workspace 1, class:^(thunderbird)$ windowrulev2 = workspace 2, class:^(firefox)$ windowrulev2 = workspace 2, class:^(Firefox-esr)$ @@ -43,7 +41,6 @@ windowrulev2 = opacity 0.9 0.7, class:^(firefox)$ windowrulev2 = opacity 0.9 0.7, class:^([Tt]hunar)$ windowrulev2 = opacity 0.8 0.6, class:^(pcmanfm-qt)$ windowrulev2 = opacity 0.9 0.7, class:^(gedit)$ -#windowrulev2 = opacity 0.8 0.7, class:^(foot)$ windowrulev2 = opacity 0.8 0.7, class:^(kitty)$ #windowrulev2 = opacity 0.9 0.7, class:^(mousepad)$ windowrulev2 = opacity 0.9 0.7, class:^(codium-url-handler)$ @@ -58,3 +55,15 @@ windowrulev2 = opacity 0.9 0.7, class:^(yad)$ #windowrulev2 = bordercolor rgb(282737) rgb(1E1D2D), floating:1 #windowrulev2 = opacity 0.8 0.8, pinned:1 +# some additional rules for firefox +# Picture-in-a-Picture (PIP) rules: Oddly, some need re-duplication. This is because the window for PIP changes after on first launch, and will not inherant the rules... +windowrulev2=opacity 0.95 0.68,title:^(Picture-in-Picture)$ # for opacity: [focus num] [bg num] +# Interestingly, the opacity rule above doesn't need the reduplication? +windowrulev2=pin,title:^(Picture-in-Picture)$ +windowrulev2=pin,title:^(Firefox)$ +windowrulev2=float, title:^(Picture-in-Picture)$ +windowrulev2=float, title:^(Firefox)$ +windowrulev2=size 25% 25%,title:^(Picture-in-Picture)$ +windowrulev2=size 25% 25%,title:^(Firefox)$ +windowrulev2=move 72% 7%,title:^(Picture-in-Picture)$ +windowrulev2=move 72% 7%,title:^(Firefox)$
\ No newline at end of file |
