Let armcord take args

This commit is contained in:
Natsu Kagami 2022-12-05 10:20:24 +01:00
parent f1ffd42bf7
commit 744b85c8a1
Signed by: nki
GPG key ID: 7306B3D3C3AD6E51

View file

@ -4,7 +4,9 @@ let
discord = pkgs.writeShellApplication { discord = pkgs.writeShellApplication {
name = "discord"; name = "discord";
runtimeInputs = with pkgs; [ nodejs pkgs.unstable.electron ]; runtimeInputs = with pkgs; [ nodejs pkgs.unstable.electron ];
text = "cd ~/Projects/ArmCord/ && electron --force-device-scale-factor=1.5 ts-out/main.js"; text = ''
cd ~/Projects/ArmCord/ && electron --force-device-scale-factor=1.5 ts-out/main.js "$@"
'';
}; };
in in
{ {