chore: remove hyprfocus

This commit is contained in:
Alexandre Cavalheiro S. Tiago da Silva 2024-02-25 09:36:21 -03:00
parent 17780f8e10
commit e63c03364f
Signed by: wizardlink
GPG key ID: A5767B54367CFBDF
2 changed files with 1 additions and 47 deletions

View file

@ -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";

View file

@ -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
}
}
'';
};
}