Add teams mimeapp

Hopefully this will stop teams overwritting the file every time...
Also don't auto start teams
This commit is contained in:
Evie Litherland-Smith 2023-10-20 10:24:28 +01:00
parent 670c52914b
commit 41efd6cd77
2 changed files with 5 additions and 8 deletions

View file

@ -25,8 +25,9 @@
'';
"hypr/extra.conf" = lib.mkDefault { text = ""; };
};
mimeApps = let
associations = {
mimeApps = rec {
enable = true;
defaultApplications = {
"image/jpeg" = [ "swayimg.desktop" ];
"image/png" = [ "swayimg.desktop" ];
"video/mp4" = [ "mpv.desktop" ];
@ -34,11 +35,9 @@
"application/json" = [ "emacs.desktop" ];
"application/x-yaml" = [ "emacs.desktop" ];
"text/csv" = [ "calc.desktop" ];
"x-scheme-handler/msteams" = [ "teams-for-linux.desktop" ];
};
in {
enable = true;
defaultApplications = associations;
associations.added = associations;
associations.added = defaultApplications;
};
};
}

View file

@ -25,7 +25,5 @@
monitor=eDP-1,preferred,0x480,1.5
monitor=desc:Iiyama North America PLB2403WS 0574281251316,preferred,1280x0,1
exec-once=teams-for-linux
'';
}