From dfbebb21103e18c9836c0c6a4793bb687a72515b Mon Sep 17 00:00:00 2001 From: Smirnov Oleksandr Date: Thu, 14 Nov 2024 21:28:12 +0200 Subject: [PATCH] hypr: update to new version --- config/hypr/hyprland.conf | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/config/hypr/hyprland.conf b/config/hypr/hyprland.conf index 48b01fb..876e34c 100644 --- a/config/hypr/hyprland.conf +++ b/config/hypr/hyprland.conf @@ -73,10 +73,11 @@ decoration { passes = 1 } - drop_shadow = true - shadow_range = 4 - shadow_render_power = 3 - col.shadow = rgba(1a1a1aee) + shadow { + enabled = true + range = 10 + render_power = 3 + } } # }}} # animations {{{ @@ -98,14 +99,12 @@ dwindle { pseudotile = false preserve_split = false force_split = 2 - no_gaps_when_only = true default_split_ratio = 1 } # }}} # master layout {{{ # https://wiki.hyprland.org/Configuring/Master-Layout master { - no_gaps_when_only = true orientation = right new_on_top = true } @@ -153,6 +152,14 @@ windowrulev2 = opacity 0.0 override 0.0 override,class:^(xwaylandvideobridge)$ windowrulev2 = noanim,class:^(xwaylandvideobridge)$ windowrulev2 = nofocus,class:^(xwaylandvideobridge)$ windowrulev2 = noinitialfocus,class:^(xwaylandvideobridge)$ + +# smart gaps +workspace = w[tv1], gapsout:0, gapsin:0 +workspace = f[1], gapsout:0, gapsin:0 +windowrulev2 = bordersize 0, floating:0, onworkspace:w[tv1] +windowrulev2 = rounding 0, floating:0, onworkspace:w[tv1] +windowrulev2 = bordersize 0, floating:0, onworkspace:f[1] +windowrulev2 = rounding 0, floating:0, onworkspace:f[1] # }}} # keymaps {{{ bind = $mod, q, killactive