From e1a386d41fe377cfb5bbe740fa7171aa31dc07c6 Mon Sep 17 00:00:00 2001 From: TolaMironcenko Date: Thu, 11 Sep 2025 10:26:29 +0700 Subject: [PATCH] updated for hyprland 0.51.0 --- hypr/animation.conf | 2 +- hypr/decoration.conf | 9 +++++++++ hypr/gestures.conf | 1 + hypr/hyprland.conf | 7 +++---- 4 files changed, 14 insertions(+), 5 deletions(-) create mode 100644 hypr/gestures.conf diff --git a/hypr/animation.conf b/hypr/animation.conf index fb371ee..e2852bc 100644 --- a/hypr/animation.conf +++ b/hypr/animation.conf @@ -1,6 +1,6 @@ animations { enabled = true - first_launch_animation = true + #first_launch_animation = true bezier = myBezier, 0.4, 0, 0.2, 1 animation = windows, 1, 2.5, myBezier, popin 80% animation = border, 1, 2.5, myBezier diff --git a/hypr/decoration.conf b/hypr/decoration.conf index 6cbd092..d235ab1 100644 --- a/hypr/decoration.conf +++ b/hypr/decoration.conf @@ -1,6 +1,15 @@ decoration { rounding = 10 + rounding_power = 2 dim_inactive = false + + shadow { + enabled = true + range = 4 + render_power = 3 + color = rgba(1a1a1aee) + } + blur { enabled = true size = 10 diff --git a/hypr/gestures.conf b/hypr/gestures.conf new file mode 100644 index 0000000..9d79166 --- /dev/null +++ b/hypr/gestures.conf @@ -0,0 +1 @@ +gesture = 3, horizontal, workspace diff --git a/hypr/hyprland.conf b/hypr/hyprland.conf index a233114..ec9fad2 100644 --- a/hypr/hyprland.conf +++ b/hypr/hyprland.conf @@ -5,6 +5,7 @@ source=~/dotfiles/hypr/startup.conf source=~/dotfiles/hypr/monitors.conf source=~/dotfiles/hypr/environment.conf source=~/dotfiles/hypr/keyboard.conf +source=~/dotfiles/hypr/gestures.conf general { gaps_in = 5 gaps_out = 5 @@ -20,10 +21,8 @@ dwindle { pseudotile = false preserve_split = true } -gestures { - workspace_swipe = true - workspace_swipe_fingers = 3 - workspace_swipe_distance = 300 +master { + new_status = master } misc { force_default_wallpaper = -1