diff options
| author | littleblack111 <littleblack11111@gmail.com> | 2025-11-29 00:12:15 +0800 |
|---|---|---|
| committer | littleblack111 <littleblack11111@gmail.com> | 2025-11-29 00:12:15 +0800 |
| commit | b1c9423e151b2e37dda5d9a3174665195d13385a (patch) | |
| tree | a100b48795536821a79c4be06cadeecf769a1233 /dot-config/hypr | |
| parent | cf2c3b53812d279038dbd3e8779ef82a38d323e1 (diff) | |
bump: hypr
Diffstat (limited to 'dot-config/hypr')
| -rw-r--r-- | dot-config/hypr/hyprland.conf | 2 | ||||
| -rw-r--r-- | dot-config/hypr/rules.conf | 10 |
2 files changed, 8 insertions, 4 deletions
diff --git a/dot-config/hypr/hyprland.conf b/dot-config/hypr/hyprland.conf index b28e84c0..ff74cc61 100644 --- a/dot-config/hypr/hyprland.conf +++ b/dot-config/hypr/hyprland.conf @@ -34,8 +34,6 @@ $SCRIPTSDIR = $HOME/scripts $rofiexec = $HOME/.config/rofi/scripts $bgChangerBin = $SCRIPTSDIR/walls/swww.sh $bgChanger = swww.sh -# global vars -$outer_gaps = 12 source = $HYPRDIR/colors.conf diff --git a/dot-config/hypr/rules.conf b/dot-config/hypr/rules.conf index b3be2b2c..3e0ec622 100644 --- a/dot-config/hypr/rules.conf +++ b/dot-config/hypr/rules.conf @@ -42,7 +42,6 @@ windowrule = match:tag gui-utils, animation slide right top # media contents windowrule = match:tag media-contents, float on windowrule = match:tag media-contents, pin on -windowrule = match:tag media-contents, move (monitor_w-window_w-$outer_gaps) 0 windowrule = match:tag media-contents, no_initial_focus on windowrule = match:tag media-contents, no_shadow on windowrule = match:tag media-contents, keep_aspect_ratio on @@ -50,6 +49,12 @@ windowrule = match:tag media-contents, no_dim on # It grabs our focus when it change video windowrule = match:tag media-contents, suppress_event activatefocus +# positions +windowrule = match:tag top-left, move 0 0 +windowrule = match:tag top-right, move (monitor_w-window_w) 0 +windowrule = match:tag bottom-left, move 0 (monitor_h-window_h) +windowrule = match:tag bottom-right, move (monitor_w-window_w) (monitor_h-window_h) + # fake fullscreen windowrule = match:tag fakefullscreen, fullscreen_state 0 2 @@ -151,10 +156,11 @@ windowrule = match:title ^Extension, float on # for media contents windowrule = match:class ^(blobdrop|dragon|dragon-drop)$, tag +media-contents +windowrule = match:class ^(blobdrop|dragon|dragon-drop)$, tag +bottom-right # PIP windowrule = match:title ^(Picture-in-Picture)$, tag +media-contents windowrule = match:title ^(Picture-in-Picture)$, size (monitor_w*0.25) (monitor_h*0.25) -windowrule = match:title ^(Picture-in-Picture)$, move (monitor_w-window_w-$outer_gaps) 0 +windowrule = match:title ^(Picture-in-Picture)$, tag +top-right # removes title/border windowrule = match:class ^(thorium-mdpkiolbdkhdjpekfbkbmhigcaggjagi-Profile_1|thorium-lnachpgegbbmnnlgpokibfjlmppeciah-Default)$, tag +fakefullscreen |
