compositor: Fix starting graphical programs on launch
This commit is contained in:
parent
98ea7c2350
commit
81ccc67c60
2 changed files with 13 additions and 6 deletions
|
@ -27,14 +27,15 @@
|
|||
systemd.user.services.keepassxc = {
|
||||
Unit = {
|
||||
Description = "KeepassXC startup";
|
||||
PartOf = [ "graphical-session.target" ];
|
||||
After = [ "graphical-session.target" ];
|
||||
PartOf = [ "river-session.target" ];
|
||||
Wants = [ "waybar.service" ];
|
||||
After = [ "river-session.target" "waybar.service" ];
|
||||
};
|
||||
Service = {
|
||||
ExecStart = "${pkgs.keepassxc}/bin/keepassxc";
|
||||
Restart = "always";
|
||||
};
|
||||
Install.WantedBy = [ "graphical-session.target" ];
|
||||
Install.WantedBy = [ "river-session.target" ];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue