reworked sxhkd module

This commit is contained in:
Gerg-L 2023-03-07 20:20:37 -05:00
parent 1a84222adb
commit d8092c47e0

View file

@ -108,16 +108,7 @@ in {
pkgs.xclip pkgs.xclip
pkgs.coreutils pkgs.coreutils
]; ];
systemd.user.services.sxhkd = { services.xserver.displayManager.sessionCommands = "${pkgs.sxhkd}/bin/sxhkd -c ${configFile} &";
description = "sxhkd hotkey daemon";
wantedBy = ["graphical-session.target"];
partOf = ["graphical-session.target"];
serviceConfig = {
ExecStart = "${pkgs.sxhkd}/bin/sxhkd -c ${configFile}";
RestartSec = 3;
Restart = "always";
};
};
} }
) )
]; ];