Co-authored-by: Alexander Khodyrev <a@akho.name>
This commit is contained in:
parent
d7e089699a
commit
fa483b82ab
|
@ -59,11 +59,16 @@ in {
|
|||
];
|
||||
|
||||
systemd.user.services.xcape = {
|
||||
Unit = {
|
||||
Unit = mkMerge [
|
||||
{
|
||||
Description = "xcape";
|
||||
After = [ "graphical-session-pre.target" ];
|
||||
PartOf = [ "graphical-session.target" ];
|
||||
};
|
||||
}
|
||||
(mkIf (config.home.keyboard != null && config.home.keyboard != { }) {
|
||||
After = [ "graphical-session-pre.target" "setxkbmap.service" ];
|
||||
})
|
||||
];
|
||||
|
||||
Service = {
|
||||
Type = "forking";
|
||||
|
|
Loading…
Reference in a new issue