From 27c0cec7c403c05a17750f99c77e2bd8f03266d2 Mon Sep 17 00:00:00 2001 From: Simon Cornet Date: Mon, 3 Jun 2024 18:26:53 +0200 Subject: [PATCH] [hyprland] fancy blue border --- nix/home/hyprland/hyprland-general.nix | 6 +++++- nix/home/hyprland/hyprland-graphics.nix | 16 +++++++++------- 2 files changed, 14 insertions(+), 8 deletions(-) diff --git a/nix/home/hyprland/hyprland-general.nix b/nix/home/hyprland/hyprland-general.nix index a732ce4..8a4a408 100644 --- a/nix/home/hyprland/hyprland-general.nix +++ b/nix/home/hyprland/hyprland-general.nix @@ -3,6 +3,10 @@ # include hyprland configs home.file.".config/hypr/general.conf".text = '' + # environment + env = MOZ_ENABLE_WAYLAND,1 + env = ELECTRON_OZONE_PLATFORM_HINT,auto + # dwindle secion dwindle { pseudotile = yes @@ -13,7 +17,7 @@ general { border_size = 3 - col.active_border = rgba(528bffaa) + col.active_border = rgba(528bffaa) rgba(043a8baa) rgba(043a8baa) rgba(043a8baa) rgba(043a8baa) 90deg col.inactive_border = rgb(595959) gaps_in = 5 diff --git a/nix/home/hyprland/hyprland-graphics.nix b/nix/home/hyprland/hyprland-graphics.nix index 06182e5..6ecc455 100644 --- a/nix/home/hyprland/hyprland-graphics.nix +++ b/nix/home/hyprland/hyprland-graphics.nix @@ -20,14 +20,16 @@ bezier = fade, 0.05, 1, 0.1, 1 bezier = smoothOut, 0.36, 0, 0.66, 1 bezier = smoothIn, 0.25, 1, 0.5, 1 + bezier = liner, 1, 1, 1, 1 - animation = windows, 1, 3, smoothIn, - animation = windowsOut, 1, 3, smoothOut, - animation = windowsMove, 1, 3, default - animation = border, 1, 10, default - animation = fade, 1, 5, smoothIn - animation = fadeDim, 1, 5, smoothIn - animation = workspaces, 1, 8, fade + animation = windows, 1, 3, smoothIn, + animation = windowsOut, 1, 3, smoothOut, + animation = windowsMove, 1, 3, default + animation = border, 1, 10, default + animation = borderangle, 1, 45, liner, loop + animation = fade, 1, 5, smoothIn + animation = fadeDim, 1, 5, smoothIn + animation = workspaces, 1, 8, fade } # decoration section