hyprland: swap wofi for fuzzel, drop animations to 0.1s

wofi reparses .desktop entries on every launch, which is sluggish on a
fat NixOS package set. fuzzel caches its index and opens in ~30 ms.
Also tightens animation speeds from 0.2 s to 0.1 s for a more
instant-feeling desktop.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
ediblerope 2026-05-11 10:45:42 +01:00
parent e7674db317
commit 3c9678ea74

View file

@ -34,7 +34,7 @@
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
ghostty ghostty
waybar waybar
wofi fuzzel
mako mako
grim grim
slurp slurp
@ -75,7 +75,7 @@
"$mod" = "SUPER"; "$mod" = "SUPER";
"$term" = "ghostty"; "$term" = "ghostty";
"$menu" = "wofi --show drun"; "$menu" = "fuzzel";
exec-once = [ exec-once = [
"waybar" "waybar"
@ -110,16 +110,16 @@
animations = { animations = {
enabled = true; enabled = true;
# speed = tenths of a second; 2 = 0.2s. Drop to 1 for instant-ish. # speed = tenths of a second; 1 = 0.1s ≈ instant.
bezier = [ bezier = [
"snap, 0.05, 0.9, 0.1, 1.0" "snap, 0.05, 0.9, 0.1, 1.0"
]; ];
animation = [ animation = [
"windows, 1, 2, snap" "windows, 1, 1, snap"
"windowsOut, 1, 2, snap, popin 80%" "windowsOut, 1, 1, snap, popin 80%"
"border, 1, 3, default" "border, 1, 2, default"
"fade, 1, 2, default" "fade, 1, 1, default"
"workspaces, 1, 2, snap" "workspaces, 1, 1, snap"
]; ];
}; };