From 11f0eb1b297f1c96e5a1df803ad01a3578d0c7d7 Mon Sep 17 00:00:00 2001 From: RGBCube Date: Tue, 28 Nov 2023 19:16:17 +0300 Subject: [PATCH] Material Animations & Hyprpicker --- machines/enka/hyprland/default.nix | 27 ++++++++++++++++++++++----- 1 file changed, 22 insertions(+), 5 deletions(-) diff --git a/machines/enka/hyprland/default.nix b/machines/enka/hyprland/default.nix index 63a9923..eed0482 100644 --- a/machines/enka/hyprland/default.nix +++ b/machines/enka/hyprland/default.nix @@ -84,6 +84,7 @@ bind = SUPER, RETURN, exec, kitty bind = SUPER, W, exec, firefox bind = SUPER, D, exec, discord + bind = SUPER, C, exec, hyprpicker --autocopy bind = SUPER, B, exec, pkill --signal SIGUSR1 waybar @@ -107,6 +108,24 @@ bindle = , XF86PowerOff, exec, pkill fuzzel; echo -e "Suspend\nHibernate\nPower Off\nReboot" | fuzzel --dmenu | tr --delete " " | tr "[:upper:]" "[:lower:]" | xargs systemctl '' + + '' + animations { + bezier = md3_standard, 0.2, 0, 0, 1 + bezier = md3_decel, 0.05, 0.7, 0.1, 1 + bezier = md3_accel, 0.3, 0, 0.8, 0.15 + bezier = overshot, 0.05, 0.9, 0.1, 1.1 + bezier = crazyshot, 0.1, 1.5, 0.76, 0.92 + bezier = hyprnostretch, 0.05, 0.9, 0.1, 1.0 + bezier = fluent_decel, 0.1, 1, 0, 1 + + animation = windows, 1, 2, md3_decel, popin 80% + animation = border, 1, 10, default + animation = fade, 1, 2, default + animation = workspaces, 1, 3, md3_decel + animation = specialWorkspace, 1, 3, md3_decel, slidevert + } + '' + + '' decoration { drop_shadow = false @@ -155,8 +174,8 @@ repeat_rate = 60 touchpad { - clickfinger_behaviour = true - drag_lock = true + clickfinger_behavior = true + drag_lock = true natural_scroll = true scroll_factor = 0.7 @@ -173,9 +192,6 @@ + '' misc { - animate_manual_resizes = true - animate_mouse_windowdragging = true - disable_hyprland_logo = true disable_splash_rendering = true @@ -198,6 +214,7 @@ brightnessctl cliphist grim + hyprpicker slurp swappy wl-clipboard