add discord to worktop

This commit is contained in:
Haak Saxberg 2023-05-25 14:28:48 -07:00
parent 043674c9bc
commit 64588c97c3

View file

@ -29,6 +29,16 @@ let
sha256 = "1pp0gslq53azhbbyxp12gjy9iaysrf56l16swqdaf4z21p7iag7k"; 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 in
{ {
@ -47,6 +57,7 @@ in
obs-studio obs-studio
vlc vlc
keycastr keycastr
discord
# wishlist # wishlist
# todo (unsupported on aarch64-darwin): # 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="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="Slack" app="^Slack$" title=".*" manage=off
yabai -m rule --add label="VLC" app="^VLC media player$" 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
''; '';
}; };