From 46f16c6889d1b5aaf6a759b86ab8a7798eb2ced8 Mon Sep 17 00:00:00 2001 From: Mohammad Rafiq Date: Tue, 20 May 2025 17:46:07 +0800 Subject: [PATCH] feat(hyprland): disable animations for switching windows --- modules/home/desktop/windowManager/hyprland/decoration.nix | 3 +++ modules/home/desktop/windowManager/hyprland/default.nix | 1 + 2 files changed, 4 insertions(+) create mode 100644 modules/home/desktop/windowManager/hyprland/decoration.nix diff --git a/modules/home/desktop/windowManager/hyprland/decoration.nix b/modules/home/desktop/windowManager/hyprland/decoration.nix new file mode 100644 index 0000000..e48e4d6 --- /dev/null +++ b/modules/home/desktop/windowManager/hyprland/decoration.nix @@ -0,0 +1,3 @@ +{ + animation = [ "workspaces, 0" ]; +} diff --git a/modules/home/desktop/windowManager/hyprland/default.nix b/modules/home/desktop/windowManager/hyprland/default.nix index 259179f..ea4634b 100644 --- a/modules/home/desktop/windowManager/hyprland/default.nix +++ b/modules/home/desktop/windowManager/hyprland/default.nix @@ -21,6 +21,7 @@ in ", preferred, auto, 1" ]; } + (import ./decoration.nix) (import ./keybinds.nix) ]; };