From e5d6aa6bda94f44437c84ee27a824ad14e010a56 Mon Sep 17 00:00:00 2001 From: Aly Raffauf Date: Wed, 7 Aug 2024 18:09:49 -0400 Subject: [PATCH] dustin: sleep before launching trayscale --- homes/dustin/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/homes/dustin/default.nix b/homes/dustin/default.nix index 03c29658..315078eb 100644 --- a/homes/dustin/default.nix +++ b/homes/dustin/default.nix @@ -41,7 +41,7 @@ self: { wayland.windowManager = { hyprland.settings = { bind = ["SUPER,P,exec,${lib.getExe pkgs.rofi-rbw-wayland}"]; - exec-once = ["${lib.getExe pkgs.trayscale} --hide-window"]; + exec-once = ["sleep 2 && ${lib.getExe pkgs.trayscale} --hide-window"]; }; sway.config = { @@ -54,7 +54,7 @@ self: { "${config.wayland.windowManager.sway.config.modifier}+P" = "exec ${lib.getExe pkgs.rofi-rbw-wayland}"; }; - startup = [{command = "${lib.getExe pkgs.trayscale} --hide-window";}]; + startup = [{command = "sleep 2 && ${lib.getExe pkgs.trayscale} --hide-window";}]; }; };