From ec4f065e63665887d74e517e82d3560925caaf15 Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Fri, 25 Apr 2025 14:39:06 +1000 Subject: [PATCH] feat: large gaps + borders Also less transparency and blur Need to fix borders and shadow on light mode --- hyprland.conf | 6 +++--- hyprland/colours.conf | 8 ++++---- hyprland/decoration.conf | 11 ++++------- hyprland/rules.conf | 8 ++++---- 4 files changed, 15 insertions(+), 18 deletions(-) diff --git a/hyprland.conf b/hyprland.conf index b307eed..ac23564 100644 --- a/hyprland.conf +++ b/hyprland.conf @@ -32,10 +32,10 @@ gestures { general { # Gaps and border - gaps_in = 5 - gaps_out = 10 + gaps_in = 10 + gaps_out = 40 gaps_workspaces = 20 - border_size = 0 + border_size = 3 layout = dwindle diff --git a/hyprland/colours.conf b/hyprland/colours.conf index 6e46b98..143c529 100644 --- a/hyprland/colours.conf +++ b/hyprland/colours.conf @@ -3,13 +3,13 @@ exec = ~/.config/hypr/scripts/gen-scheme.fish source = ~/.config/hypr/scheme/current.conf general { - col.active_border = rgb($subtext1) - col.inactive_border = rgba($subtext194) + col.active_border = rgba($primarye6) + col.inactive_border = rgba($subtext111) } decoration { shadow { - color = rgba($overlay2d4) + color = rgba($based4) } } @@ -27,4 +27,4 @@ misc { background_color = rgb($crust) } -windowrulev2 = bordercolor rgb($primary) rgba($primary94), pinned:1 +windowrulev2 = bordercolor rgb($tertiary) rgba($tertiary88), pinned:1 diff --git a/hyprland/decoration.conf b/hyprland/decoration.conf index 972f092..1a6efe8 100644 --- a/hyprland/decoration.conf +++ b/hyprland/decoration.conf @@ -1,5 +1,6 @@ decoration { rounding = 10 + rounding_power = 10 blur { enabled = true @@ -9,8 +10,8 @@ decoration { new_optimizations = true popups = true input_methods = true - size = 7 - passes = 4 + size = 4 + passes = 2 contrast = 0.8 vibrancy = 0.2 vibrancy_darkness = 0.2 @@ -18,11 +19,7 @@ decoration { shadow { enabled = true - range = 5 + range = 10 render_power = 3 } - - # Dim - dim_inactive = true - dim_strength = 0.1 } diff --git a/hyprland/rules.conf b/hyprland/rules.conf index d65558c..9d5bd36 100644 --- a/hyprland/rules.conf +++ b/hyprland/rules.conf @@ -1,8 +1,7 @@ # ######## Window rules ######## -windowrule = opacity 0.9 override, fullscreen:0 # Applies transparency to not fullscreen windows -windowrule = opacity 0.95 override, fullscreen:0, class:zen|firefox|GitHub Desktop|cod(e|ium) +windowrule = opacity 0.95 override, fullscreen:0 # Applies transparency to not fullscreen windows +windowrule = opaque, class:foot windowrule = center 1, floating:1, xwayland:0 # Center all floating windows (not xwayland cause popups) -windowrule = bordersize 2, pinned:1 # Float windowrule = float, class:guifetch # FlafyDev/guifetch @@ -71,7 +70,8 @@ windowrule = noshadow, xwayland:1, title:win[0-9]+ windowrule = rounding 10, xwayland:1, title:win[0-9]+ # ######## Workspace rules ######## -workspace = s[true], bordersize:2 +workspace = w[tv1]s[false], gapsout:20, gapsin:20 +workspace = f[1]s[false], gapsout:20, gapsin:20 # ######## Layer rules ######## layerrule = animation fade, hyprpicker # Colour picker out animation