vicinae: refresh app list on activation
This commit is contained in:
@@ -204,6 +204,13 @@ in
|
||||
// lib.optionalAttrs themeIsToml themeFiles;
|
||||
};
|
||||
|
||||
home.activation.vicinae-refresh-apps = lib.mkIf (cfg.package != null) (
|
||||
lib.hm.dag.entryAfter [ "installPackages" ] ''
|
||||
verboseEcho "Refreshing the vicinae app list"
|
||||
run --silence ${lib.getExe config.programs.vicinae.package} deeplink vicinae://launch/core/refresh-apps
|
||||
''
|
||||
);
|
||||
|
||||
systemd.user.services.vicinae = lib.mkIf (cfg.systemd.enable && cfg.package != null) {
|
||||
Unit = {
|
||||
Description = "Vicinae server daemon";
|
||||
|
||||
Reference in New Issue
Block a user