better border and shadow

This commit is contained in:
2 * r + 2 * t 2025-01-31 16:35:29 +11:00
parent 845e607fbe
commit b03e1f4b06
3 changed files with 7 additions and 9 deletions

View file

@ -3,8 +3,8 @@ exec = ~/.config/hypr/scripts/gen-scheme.fish
source = ~/.config/hypr/scheme/current.conf source = ~/.config/hypr/scheme/current.conf
general { general {
col.active_border = rgba($lavenderd5) col.active_border = rgb($subtext1)
col.inactive_border = rgba($surface0d5) col.inactive_border = rgba($subtext194)
} }
windowrulev2 = bordercolor rgba($maroone2) rgba($maroon52), pinned:1 windowrulev2 = bordercolor rgb($maroon) rgba($maroon94), pinned:1

View file

@ -14,11 +14,10 @@ decoration {
shadow { shadow {
enabled = true enabled = true
ignore_window = true range = 100
range = 20
offset = 0 2
render_power = 4 render_power = 4
color = rgba(0000002A) color = rgba(0000004A)
scale = 0.98
} }
# Dim # Dim

View file

@ -4,7 +4,6 @@ windowrulev2 = noshadow, floating:0 # No shadow for tiled windows
windowrulev2 = center 1, floating:1, xwayland:0 # Center all floating windows (not xwayland cause popups) windowrulev2 = center 1, floating:1, xwayland:0 # Center all floating windows (not xwayland cause popups)
windowrulev2 = bordersize 2, floating:1 windowrulev2 = bordersize 2, floating:1
windowrulev2 = rounding 15, floating:1
# Float # Float
windowrule = float, guifetch # FlafyDev/guifetch windowrule = float, guifetch # FlafyDev/guifetch
@ -70,7 +69,7 @@ windowrulev2 = noshadow, xwayland:1, title:win[0-9]+
windowrulev2 = rounding 10, xwayland:1, title:win[0-9]+ windowrulev2 = rounding 10, xwayland:1, title:win[0-9]+
# ######## Workspace rules ######## # ######## Workspace rules ########
workspace = s[true], gapsout:10, bordersize:1 workspace = s[true], gapsout:10, gapsin:5, bordersize:2
# ######## Layer rules ######## # ######## Layer rules ########
layerrule = animation fade, hyprpicker # Colour picker out animation layerrule = animation fade, hyprpicker # Colour picker out animation