From e63c03364fd608638ea655d1460f7b55c7dc1c30 Mon Sep 17 00:00:00 2001 From: "Alexandre Cavalheiro S. Tiago da Silva" Date: Sun, 25 Feb 2024 09:36:21 -0300 Subject: [PATCH] chore: remove hyprfocus --- flake.nix | 5 ---- programs/hyprland/default.nix | 43 +---------------------------------- 2 files changed, 1 insertion(+), 47 deletions(-) diff --git a/flake.nix b/flake.nix index 1ea34bf..a55289d 100644 --- a/flake.nix +++ b/flake.nix @@ -14,11 +14,6 @@ inputs.nixpkgs.follows = "nixpkgs"; }; - hyprland-hyprfocus = { - url = "github:VortexCoyote/hyprfocus"; - inputs.hyprland.follows = "hyprland"; - }; - # CLI file manager. yazi = { url = "github:sxyazi/yazi"; diff --git a/programs/hyprland/default.nix b/programs/hyprland/default.nix index 0e408aa..ff0a67e 100644 --- a/programs/hyprland/default.nix +++ b/programs/hyprland/default.nix @@ -1,4 +1,4 @@ -{ pkgs, hyprland, hyprland-hyprfocus, ... }: +{ pkgs, hyprland, ... }: { imports = [ hyprland.homeManagerModules.default ]; @@ -6,10 +6,6 @@ wayland.windowManager.hyprland = { enable = true; - plugins = [ - hyprland-hyprfocus.packages.${pkgs.system}.hyprfocus - ]; - extraConfig = '' # Catppuccin Macchiato - https://github.com/catppuccin/hyprland $rosewaterAlpha = rgb(f4dbd6) @@ -177,12 +173,6 @@ workspace_swipe = off } - # Example per-device config - # See https://wiki.hyprland.org/Configuring/Keywords/#executing for more - device:epic-mouse-v1 { - sensitivity = -0.5 - } - # Example windowrule v1 # windowrule = float, ^(kitty)$ # Example windowrule v2 @@ -270,37 +260,6 @@ windowrulev2 = noanim,class:^(xwaylandvideobridge)$ windowrulev2 = nofocus,class:^(xwaylandvideobridge)$ windowrulev2 = noinitialfocus,class:^(xwaylandvideobridge)$ - - # Plugins - plugin:hyprfocus { - enabled = no - - keyboard_focus_animation = shrink - mouse_focus_animation = shrink - - bezier = bezIn, 0.5,0.0,1.0,0.5 - bezier = bezOut, 0.0,0.5,0.5,1.0 - - flash { - flash_opacity = 0.7 - - in_bezier = bezIn - in_speed = 0.5 - - out_bezier = bezOut - out_speed = 3 - } - - shrink { - shrink_percentage = 0.99 - - in_bezier = bezIn - in_speed = 1.5 - - out_bezier = bezOut - out_speed = 2.5 - } - } ''; }; }