From fc0bc0a00710b50d1088e8d38fd441a18b69d16d Mon Sep 17 00:00:00 2001 From: Aly Raffauf Date: Tue, 6 Aug 2024 20:05:42 -0400 Subject: [PATCH] dustin: hide trayscale window at launch --- homes/dustin/default.nix | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/homes/dustin/default.nix b/homes/dustin/default.nix index d6ce6d03..03c29658 100644 --- a/homes/dustin/default.nix +++ b/homes/dustin/default.nix @@ -40,10 +40,8 @@ self: { wayland.windowManager = { hyprland.settings = { - bind = [ - "SUPER,P,exec,${lib.getExe pkgs.rofi-rbw-wayland}" - ]; - exec-once = ["${lib.getExe pkgs.trayscale}"]; + bind = ["SUPER,P,exec,${lib.getExe pkgs.rofi-rbw-wayland}"]; + exec-once = ["${lib.getExe pkgs.trayscale} --hide-window"]; }; sway.config = { @@ -56,7 +54,7 @@ self: { "${config.wayland.windowManager.sway.config.modifier}+P" = "exec ${lib.getExe pkgs.rofi-rbw-wayland}"; }; - startup = [{command = "${lib.getExe pkgs.trayscale}";}]; + startup = [{command = "${lib.getExe pkgs.trayscale} --hide-window";}]; }; };