switch to webcord
This commit is contained in:
parent
dd052660e3
commit
7c55c0963d
|
@ -601,6 +601,7 @@ in {
|
||||||
{ class = "Jitsi Meet"; }
|
{ class = "Jitsi Meet"; }
|
||||||
{ class = "discord"; }
|
{ class = "discord"; }
|
||||||
{ title = "Discord"; }
|
{ title = "Discord"; }
|
||||||
|
{ class = "WebCord"; }
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
modes = let return_mode = lib.mapAttrs (k: v: "${v}; mode default");
|
modes = let return_mode = lib.mapAttrs (k: v: "${v}; mode default");
|
||||||
|
@ -838,6 +839,12 @@ in {
|
||||||
# # vim: ft=ini
|
# # vim: ft=ini
|
||||||
|
|
||||||
|
|
||||||
|
};
|
||||||
|
home.activation = {
|
||||||
|
install_flatpaks = lib.hm.dag.entryAfter ["writeBoundary"] ''
|
||||||
|
$DRY_RUN_CMD flatpak $VERBOSE_ARG remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
|
||||||
|
$DRY_RUN_CMD flatpak $VERBOSE_ARG install -y flathub io.github.spacingbat3.webcord
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
services.kdeconnect = {
|
services.kdeconnect = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
@ -881,7 +888,7 @@ in {
|
||||||
After = [ "graphical-session.target" ];
|
After = [ "graphical-session.target" ];
|
||||||
};
|
};
|
||||||
Service = {
|
Service = {
|
||||||
ExecStart = "${pkgs.discord}/bin/discord";
|
ExecStart = "${pkgs.firefox}/bin/firefox";
|
||||||
Restart = "on-failure";
|
Restart = "on-failure";
|
||||||
};
|
};
|
||||||
Install = { WantedBy = [ "sway-session.target" ]; };
|
Install = { WantedBy = [ "sway-session.target" ]; };
|
||||||
|
@ -893,7 +900,7 @@ in {
|
||||||
After = [ "graphical-session.target" ];
|
After = [ "graphical-session.target" ];
|
||||||
};
|
};
|
||||||
Service = {
|
Service = {
|
||||||
ExecStart = "${pkgs.discord}/bin/discord";
|
ExecStart = "/usr/bin/env flatpak run io.github.spacingbat3.webcord";
|
||||||
Restart = "on-failure";
|
Restart = "on-failure";
|
||||||
};
|
};
|
||||||
Install = { WantedBy = [ "sway-session.target" ]; };
|
Install = { WantedBy = [ "sway-session.target" ]; };
|
||||||
|
|
Loading…
Reference in a new issue