Add autostarts for whatsapp (all), teams (work) and twinkle (work)

This commit is contained in:
Evie Litherland-Smith 2024-07-25 07:40:16 +01:00
parent 653ac9b6c7
commit 2e68962295
2 changed files with 15 additions and 8 deletions

View file

@ -51,14 +51,17 @@
XDG_PROJECTS_DIR = "${config.home.homeDirectory}/Projects"; XDG_PROJECTS_DIR = "${config.home.homeDirectory}/Projects";
}; };
}; };
configFile."teams-for-linux/config.json".text = builtins.toJSON { configFile = {
awayOnSystemIdle = true; "autostart/com.github.eneshecan.WhatsAppForLinux.desktop".source = "${pkgs.whatsapp-for-linux}/share/applications/com.github.eneshecan.WhatsAppForLinux.desktop";
closeAppOnCross = true; "teams-for-linux/config.json".text = builtins.toJSON {
followSystemTheme = true; awayOnSystemIdle = true;
electronCLIFlags = lib.mkIf config.wayland.windowManager.sway.enable [["ozone-platform" "wayland"]]; closeAppOnCross = true;
notificationMethod = "electron"; followSystemTheme = true;
optInTeamsV2 = true; electronCLIFlags = lib.mkIf config.wayland.windowManager.sway.enable [["ozone-platform" "wayland"]];
spellCheckerLanguages = ["en_GB"]; notificationMethod = "electron";
optInTeamsV2 = true;
spellCheckerLanguages = ["en_GB"];
};
}; };
}; };
xresources.properties = with config.scheme.withHashtag; { xresources.properties = with config.scheme.withHashtag; {

View file

@ -14,4 +14,8 @@
proton.primary = lib.mkForce false; proton.primary = lib.mkForce false;
outlook.primary = lib.mkForce true; outlook.primary = lib.mkForce true;
}; };
xdg.configFile = {
"autostart/twinkle.desktop".source = "${pkgs.twinkle}/share/applications/twinkle.desktop";
"autostart/teams-for-linux.desktop".source = "${pkgs.teams-for-linux}/share/applications/teams-for-linux.desktop";
};
} }