Skip to content

Launched apps close on config update/service restart #81

@sergioahp

Description

@sergioahp

I'm launching long-running apps (like firefox and alacritty) using xremap. But when I change something in my home-manager config related to xremap it restarts the service after a rebuild, which closes all apps that I've launched with it.

If I stop the service and run /nix/store/.../bin/xremap /nix/store/.../config.yml this behavior is fixed and closing xremap does not close the apps it has launched.

As a way to circumvent that behavior in the meantime, I've using
launch = [ "systemd-run" "--user" "--scope" "command" ] instead of just launch = [ "command" ]

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions