Add teams mimeapp
Hopefully this will stop teams overwritting the file every time... Also don't auto start teams
This commit is contained in:
parent
670c52914b
commit
41efd6cd77
|
@ -25,8 +25,9 @@
|
||||||
'';
|
'';
|
||||||
"hypr/extra.conf" = lib.mkDefault { text = ""; };
|
"hypr/extra.conf" = lib.mkDefault { text = ""; };
|
||||||
};
|
};
|
||||||
mimeApps = let
|
mimeApps = rec {
|
||||||
associations = {
|
enable = true;
|
||||||
|
defaultApplications = {
|
||||||
"image/jpeg" = [ "swayimg.desktop" ];
|
"image/jpeg" = [ "swayimg.desktop" ];
|
||||||
"image/png" = [ "swayimg.desktop" ];
|
"image/png" = [ "swayimg.desktop" ];
|
||||||
"video/mp4" = [ "mpv.desktop" ];
|
"video/mp4" = [ "mpv.desktop" ];
|
||||||
|
@ -34,11 +35,9 @@
|
||||||
"application/json" = [ "emacs.desktop" ];
|
"application/json" = [ "emacs.desktop" ];
|
||||||
"application/x-yaml" = [ "emacs.desktop" ];
|
"application/x-yaml" = [ "emacs.desktop" ];
|
||||||
"text/csv" = [ "calc.desktop" ];
|
"text/csv" = [ "calc.desktop" ];
|
||||||
|
"x-scheme-handler/msteams" = [ "teams-for-linux.desktop" ];
|
||||||
};
|
};
|
||||||
in {
|
associations.added = defaultApplications;
|
||||||
enable = true;
|
|
||||||
defaultApplications = associations;
|
|
||||||
associations.added = associations;
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -25,7 +25,5 @@
|
||||||
|
|
||||||
monitor=eDP-1,preferred,0x480,1.5
|
monitor=eDP-1,preferred,0x480,1.5
|
||||||
monitor=desc:Iiyama North America PLB2403WS 0574281251316,preferred,1280x0,1
|
monitor=desc:Iiyama North America PLB2403WS 0574281251316,preferred,1280x0,1
|
||||||
|
|
||||||
exec-once=teams-for-linux
|
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue