From 64588c97c319db1b1c1b17b427d1e2e7bab2bd64 Mon Sep 17 00:00:00 2001 From: Haak Saxberg Date: Thu, 25 May 2023 14:28:48 -0700 Subject: [PATCH] add discord to worktop --- nix/system/worktop/darwin-configuration.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/nix/system/worktop/darwin-configuration.nix b/nix/system/worktop/darwin-configuration.nix index ffc9375..e5ccc96 100644 --- a/nix/system/worktop/darwin-configuration.nix +++ b/nix/system/worktop/darwin-configuration.nix @@ -29,6 +29,16 @@ let sha256 = "1pp0gslq53azhbbyxp12gjy9iaysrf56l16swqdaf4z21p7iag7k"; }; }; + + discord = + pkgs.callPackage ./makeApp.nix rec { + name = "Discord"; + version = "0.0.273"; + src = pkgs.fetchurl { + url = "https://dl.discordapp.net/apps/osx/${version}/Discord.dmg"; + sha256 = "54794fbf4b29c9a56f6e8a736ff5445c75a1fd3cf49dce7b4d7aa6ff067ae2ef"; + }; + }; in { @@ -47,6 +57,7 @@ in obs-studio vlc keycastr + discord # wishlist # todo (unsupported on aarch64-darwin): @@ -127,6 +138,7 @@ in yabai -m rule --add label="About This Mac" app="System Information" title="About This Mac" manage=off yabai -m rule --add label="Slack" app="^Slack$" title=".*" manage=off yabai -m rule --add label="VLC" app="^VLC media player$" title=".*" manage=off + yabai -m rule --add label="Discord" app="^Discord$" title=".*" manage=off ''; };