From 349f0f398d3363c9fb004fb636664faff046af9c Mon Sep 17 00:00:00 2001 From: Aly Raffauf Date: Tue, 6 Aug 2024 20:02:08 -0400 Subject: [PATCH] dustin: start trayscale at login --- homes/dustin/default.nix | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/homes/dustin/default.nix b/homes/dustin/default.nix index 030bf7c6..d6ce6d03 100644 --- a/homes/dustin/default.nix +++ b/homes/dustin/default.nix @@ -16,6 +16,7 @@ self: { libreoffice-fresh plexamp teams-for-linux + trayscale webcord xfce.xfce4-taskmanager zoom-us @@ -38,9 +39,12 @@ self: { }; wayland.windowManager = { - hyprland.settings.bind = [ - "SUPER,P,exec,${lib.getExe pkgs.rofi-rbw-wayland}" - ]; + hyprland.settings = { + bind = [ + "SUPER,P,exec,${lib.getExe pkgs.rofi-rbw-wayland}" + ]; + exec-once = ["${lib.getExe pkgs.trayscale}"]; + }; sway.config = { input."type:keyboard" = lib.mkForce { @@ -51,6 +55,8 @@ self: { keybindings = { "${config.wayland.windowManager.sway.config.modifier}+P" = "exec ${lib.getExe pkgs.rofi-rbw-wayland}"; }; + + startup = [{command = "${lib.getExe pkgs.trayscale}";}]; }; };