chat: add Element client
This commit is contained in:
parent
b400bd938e
commit
6f3935f736
|
@ -53,7 +53,25 @@
|
||||||
};
|
};
|
||||||
Install = { WantedBy = [ "sway-session.target" ]; };
|
Install = { WantedBy = [ "sway-session.target" ]; };
|
||||||
};
|
};
|
||||||
|
element = {
|
||||||
|
Unit = {
|
||||||
|
Description = "Feature-rich client for Matrix.org";
|
||||||
|
PartOf = [ "graphical-session.target" ];
|
||||||
|
After = [ "graphical-session.target" "pipewire-pulse.service" "tray.service" ];
|
||||||
|
};
|
||||||
|
Service = {
|
||||||
|
ExecStartPre = "/usr/bin/env sleep 11s";
|
||||||
|
ExecStart = "${pkgs.element-desktop-wayland}/bin/element-desktop";
|
||||||
|
Restart = "on-failure";
|
||||||
|
};
|
||||||
|
Install = { WantedBy = [ "sway-session.target" ]; };
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
home.packages = with pkgs; [ tdesktop webcord thunderbird ];
|
home.packages = with pkgs; [
|
||||||
|
tdesktop
|
||||||
|
webcord
|
||||||
|
thunderbird
|
||||||
|
element-desktop-wayland
|
||||||
|
];
|
||||||
}
|
}
|
||||||
|
|
|
@ -43,6 +43,8 @@ in
|
||||||
{ title = "Discord"; }
|
{ title = "Discord"; }
|
||||||
{ class = "WebCord"; }
|
{ class = "WebCord"; }
|
||||||
{ app_id = "WebCord"; }
|
{ app_id = "WebCord"; }
|
||||||
|
{ class = "Element"; }
|
||||||
|
{ app_id = "Element"; }
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
floating = {
|
floating = {
|
||||||
|
|
Loading…
Reference in a new issue