fix: reuse betterbird profile
This commit is contained in:
parent
8e225f5d82
commit
7da82701df
3 changed files with 74 additions and 4 deletions
|
|
@ -1,4 +1,4 @@
|
|||
{ ... }:
|
||||
{ homeLib, ... }:
|
||||
|
||||
{
|
||||
dconf.settings = {
|
||||
|
|
@ -40,6 +40,29 @@
|
|||
noDisplay = true;
|
||||
};
|
||||
|
||||
xdg.desktopEntries.betterbird = {
|
||||
name = "Betterbird";
|
||||
comment = "Mail, RSS and newsgroups client";
|
||||
exec = "${homeLib.betterbirdLauncher}/bin/betterbird-profile %u";
|
||||
icon = "betterbird";
|
||||
terminal = false;
|
||||
type = "Application";
|
||||
categories = [
|
||||
"Network"
|
||||
"Email"
|
||||
];
|
||||
mimeType = [
|
||||
"x-scheme-handler/mailto"
|
||||
"message/rfc822"
|
||||
"x-scheme-handler/webcal"
|
||||
"x-scheme-handler/webcals"
|
||||
];
|
||||
settings = {
|
||||
StartupNotify = "false";
|
||||
StartupWMClass = "eu.betterbird.Betterbird";
|
||||
};
|
||||
};
|
||||
|
||||
xdg.mimeApps = {
|
||||
enable = true;
|
||||
defaultApplications = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue