1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2024-12-14 11:57:55 +00:00

xcape: run xcape after setxkbmap (#2198) (#2199)

Co-authored-by: Alexander Khodyrev <a@akho.name>
This commit is contained in:
Alexander 2021-07-20 01:16:14 +00:00 committed by GitHub
parent d7e089699a
commit fa483b82ab
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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";