From 6dd2a05941c72a68bdc4dd3b35953c74aebd841b Mon Sep 17 00:00:00 2001 From: EdenQwQ Date: Sat, 8 Mar 2025 20:44:28 +0800 Subject: [PATCH] no delay for transition when switching colorscheme --- home/default.nix | 2 +- home/tweaks/stylix.nix | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/home/default.nix b/home/default.nix index 4eeabd0..1ef20ee 100644 --- a/home/default.nix +++ b/home/default.nix @@ -34,7 +34,7 @@ lib.hm.dag.entryAfter [ "writeBoundary" ] # bash '' - run ${pkgs.niri-unstable}/bin/niri msg action do-screen-transition --delay-ms 1000 + run ${pkgs.niri-unstable}/bin/niri msg action do-screen-transition ''; reload-waybar = lib.hm.dag.entryAfter [ "niri-transition" ] diff --git a/home/tweaks/stylix.nix b/home/tweaks/stylix.nix index 298edfe..e370f11 100644 --- a/home/tweaks/stylix.nix +++ b/home/tweaks/stylix.nix @@ -12,9 +12,7 @@ in targets.gtk.enable = true; targets.gtk.flatpakSupport.enable = true; cursor = { - package = pkgs.graphite-cursors.overrideAttrs (oldAttrs: { - postInstall = recolorScript + (oldAttrs.postInstall or ""); - }); + package = pkgs.graphite-cursors; name = "graphite-dark"; size = 32; };