remove autostart delay

This commit is contained in:
2024-05-21 13:06:12 +08:00
parent 14232bf369
commit 3aa9fbc75f

View File

@@ -9,9 +9,7 @@ inputs:
nheko = rec
{
fileName = "nheko.desktop";
path = inputs.pkgs.writeText fileName (builtins.replaceStrings
[ "Exec=nheko %u" ] [ "Exec=bash -c 'sleep 5 && nheko'" ]
(builtins.readFile "${inputs.pkgs.nheko}/share/applications/${fileName}"));
path = "${inputs.pkgs.nheko}/share/applications/${fileName}";
};
kclockd = rec
{
@@ -27,7 +25,7 @@ inputs:
{
fileName = "org.telegram.desktop.desktop";
path = inputs.pkgs.writeText fileName (builtins.replaceStrings
[ "Exec=telegram-desktop -- %u" ] [ "Exec=bash -c 'sleep 5 && telegram-desktop -autostart'" ]
[ "Exec=telegram-desktop -- %u" ] [ "Exec=telegram-desktop -autostart" ]
(builtins.readFile "${inputs.pkgs.telegram-desktop}/share/applications/${fileName}"));
};
element = rec